Show/hide as the effect Trigger : Show Hide 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 » Show Hide Effect 




Show/hide as the effect Trigger
Show/hide as the effect Trigger
   
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#eeeeee">
  <mx:Image id="myImage" source="logo.jpg" x="150" y="100" showEffect="Fade" hideEffect="Fade"/>
  <mx:Button x="150" y="375" label="Show Image" click="myImage.visible=true"/>
  <mx:Button x="374" y="375" label="Hide Image" click="myImage.visible=false"/>
</mx:Application>

   
    
    
  














Related examples in the same category
1.Add hide effect to a controlAdd hide effect to a control
2.ShowEffect and HideEffect for Canvas inside a ViewStackShowEffect and HideEffect for Canvas inside a ViewStack
3.Show and hide tooltip with effectShow and hide tooltip with effect
4.show/hide effectshow/hide effect
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.