Apply a Zoom effect to multiple Buttons with data binding to effect's targets property : Zoom Effect « Effects « Flex






Apply a Zoom effect to multiple Buttons with data binding to effect's targets property

Apply a Zoom effect to multiple Buttons with data binding to effect's targets property
    
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Zoom id="myZoom" 
             zoomHeightFrom="0.10" 
             zoomWidthFrom="0.10"
             zoomHeightTo="1.00" 
             zoomWidthTo="1.00"
             targets="{[myButton1, myButton2, myButton3]}" />
    <mx:Button id="myButton1" />
    <mx:Button id="myButton2" />
    <mx:Button id="myButton3" /> 
    <mx:Button label="Zoom targets" id="myButton4" click="myZoom.end();myZoom.play();" />
</mx:Application>

   
    
    
    
  








Related examples in the same category

1.Using the Zoom effect to make the button zoom-in largeUsing the Zoom effect to make the button zoom-in large
2.Use Zoom class to set zoom effectUse Zoom class to set zoom effect
3.Set up zoom effect in ActionScriptSet up zoom effect in ActionScript
4.Zoom EffectsZoom Effects
5.SeriesZoom effectSeriesZoom effect
6.Zoomer Pattern 2Zoomer Pattern 2