Zoom Effects : Zoom Effect « Effects « Flex






Zoom Effects

Zoom Effects
    
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    
    <mx:Zoom id="grow" duration="100" zoomHeightTo="1.5" zoomWidthTo="1.5" />
    <mx:Zoom id="revert" duration="50" zoomHeightTo="1" zoomWidthTo="1" />
    
    <mx:Panel title="Effects" width="120" height="100" paddingBottom="10" paddingLeft="10" paddingRight="10" paddingTop="10">
        <mx:Button label="Click" mouseDownEffect="{grow}" mouseUpEffect="{revert}" />
    </mx:Panel>
    
</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.Apply a Zoom effect to multiple Buttons with data binding to effect's targets propertyApply a Zoom effect to multiple Buttons with data binding to effect's targets property
4.Set up zoom effect in ActionScriptSet up zoom effect in ActionScript
5.SeriesZoom effectSeriesZoom effect
6.Zoomer Pattern 2Zoomer Pattern 2