|
Create a file:
SequenceEffectsDemo.mxml
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundAlpha="0"> <mx:Sequence id="jump" target="{img}"> <mx:Panel title="Sequence Effect Demo" width="100%" height="100%"> <mx:Canvas id="canvas" width="100%" height="100%"> <mx:Image id="img" x="{canvas.width/2 - img.width/2}" y="{canvas.height/2 - img.height/2}" </mx:Canvas> <mx:ControlBar> </mx:Panel> </mx:Application> |