Image click event : Image Event « Graphics « Flex






Image click event

Image click event
           


<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Canvas id="myCanvas" height="200" width="200" borderStyle="solid" backgroundColor="white">
        <mx:Image height="50" width="50" x="100" y="10" source="@Embed(source='logo.jpg')" click="navigateToURL(new URLRequest('http://google.com'))" />
    </mx:Canvas>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Image resize eventsImage resize events
2.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
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