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