Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Adobe Flex SDK Previous
-
None
-
None
-
Language Found: English
Description
Those methods are often needed when working with the effects programmatically
Workaround:
Get, modify, then set the children array, for example:
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark">
<fx:Script>
<![CDATA[
protected function playEffect(event:MouseEvent):void
]]
>
</fx:Script>
<fx:Declarations>
<s:Sequence id="eff" target="
">
<s:Move xBy="100" />
<s:Resize widthBy="100" />
</s:Sequence>
</fx:Declarations>
<s:Button label="target" id="target" click="playEffect(event)" />
</s:Application>