Image resize events : Image Event « Graphics « Flex






Image resize events

Image resize events
           

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Resize id="resizeBig" widthFrom="120" widthTo="200" />
    <mx:Resize id="resizeSmall" widthFrom="200" widthTo="120" />
    <mx:Image width="120" source="@Embed('logo.jpg')" rollOverEffect="{resizeBig}" rollOutEffect="{resizeSmall}" />
</mx:Application>

   
    
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Use default event mode to track loading progress of an image using the Image controlUse default event mode to track loading progress of an image using the Image control
2.Image click eventImage click event
3.Use default event mode to track the progress of loading an image by using the Image controlUse default event mode to track the progress of loading an image by using the Image control
4.Image Load EventImage Load Event