ActionScript and WipeLeft effect : Wipe Effect « Effects « Flex






ActionScript and WipeLeft effect

ActionScript and WipeLeft effect
    

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="createEffect(event);">
    <mx:Script>
        
        import mx.effects.*;
        private var myWL:WipeLeft;
        private function createEffect(eventObj:Event):void {
            myWL=new WipeLeft();
            myWL.duration=1000;
            myButton.setStyle('mouseDownEffect', myWL);
            myOtherButton.setStyle('mouseDownEffect', myWL);
        }
      
    </mx:Script>
    <mx:Button id="myButton" />
    <mx:Button id="myOtherButton" />
</mx:Application>

   
    
    
    
  








Related examples in the same category

1.WipeLeft for Button rollOverEffectWipeLeft for Button rollOverEffect
2.Play the WipeLeft effect each time the selected tab changesPlay the WipeLeft effect each time the selected tab changes
3.A wipe down effect trigger of the target componentA wipe down effect trigger of the target component
4.Define a set of wipe effects that Flex executes when the user toggles the chart's visibilityDefine a set of wipe effects that Flex executes when the user toggles the chart's visibility
5.Use Wipe effect when creating a Button completelyUse Wipe effect when creating a Button completely
6.Create the WipeLeft effect in ActionScriptCreate the WipeLeft effect in ActionScript
7.A custom mask with a WipeLeft effectA custom mask with a WipeLeft effect
8.Use Wipe effect as part of a transition that changes the font color of a button control from black to redUse Wipe effect as part of a transition that changes the font color of a button control from black to red
9.WipeLeft transitionWipeLeft transition
10.WipeRight and ViewStackWipeRight and ViewStack
11.Set WipeLeft and WipeRight with setStyle methodSet WipeLeft and WipeRight with setStyle method
12.Fade, Dissolve, Iris, Zoom, WipeRight, WipeLeft, WipeUp, WipeDownFade, Dissolve, Iris, Zoom, WipeRight, WipeLeft, WipeUp, WipeDown