Iris And Zoom : Iris Effect « Effects « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Effects » Iris EffectScreenshots 
Iris And Zoom
Iris And Zoom
         
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#eeeeee">
  
  <mx:Zoom id="myZoom" duration="2000"/>
  <mx:Image id="zoomImage" source="logo.jpg" x="362" y="55" showEffect="{myZoom}" hideEffect="{myZoom}"/>


  
  <mx:Iris id="myIris" duration="2000"/>
  <mx:Image id="irisImage" source="logo.jpg" x="22" y="55" showEffect="{myIris}" hideEffect="{myIris}"/>
  
  <mx:Button x="241" y="330" label="Show Images" click="zoomImage.visible=true;irisImage.visible=true;"/>
  <mx:Button x="362" y="330" label="Hide Images" click="zoomImage.visible=false;irisImage.visible=false"/>

</mx:Application>

   
    
    
    
    
    
    
    
    
  
Related examples in the same category
1.Using the Iris effect on the buttonUsing the Iris effect on the button
2.Iris effectIris effect
w_ww__.j__a_v___a_2___s__._c__o__m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.