Mega Code Archive

 
Categories / Flex / Effects
 

Playing multiple effects at the same time

<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">     <mx:Parallel id="parallelEffect">         <mx:Fade alphaFrom="0.0" alphaTo="1.0" />         <mx:Zoom zoomWidthFrom="0.5" zoomWidthTo="1.0"             zoomHeightFrom="0.5" zoomHeightTo="1.0" />     </mx:Parallel>     <mx:Button id="myButton" label="Mouse Over To Play Effect"         rollOverEffect="{parallelEffect}" /> </mx:Application>