Home Flex Flex wipe behavior example



Flex wipe behavior example
Posted on: September 8, 2008 at 12:00 AM
Code below shows the implementation of wipe behavior in buttons through its rollOverEffect property.

Flex wipe behavior example

     

Code below shows the implementation of wipe behavior in buttons through its rollOverEffect property. The first button wipes from left to right and the second one from right to left. This wiping is mouse event based and therefore it will continue to wipe till the mouse arrow is over the button. 

 

 

 

 

 

wipe.mxml

<?xml version = '1.0' encoding = 'ISO-8859-1'?>
<mx:Application xmlns:mx = 'http://www.adobe.com/2006/mxml'>

  <mx:WipeLeft id = 'eve' duration = '1000'/>
  <mx:WipeRight id = 'bracelet' duration = '1000'/>

  <mx:Button 
  label = 'The One, game protagonist and the character'
 rollOverEffect = '{eve}'/>
  <mx:Button 
  label = "Neo's love interest and First mate" 
  rollOverEffect = '{bracelet}'/>

</mx:Application> 

 

wipe.swf

 

Download the code

Related Tags for Flex wipe behavior example:
cbuttoneventiomousepropertysedimplementationipvithisrowbuttonspingshowfortobehaviorbaserolloveravirefwssheffecteilitusepeimfromfirstcontinueleftinasmntarrowbasedesthroughemaseoverpimehowhrprorightsatpinisirhallmplproperandarcodcodertropettssrithshocondavbelostatifepleplpropprndodeonomolo


More Tutorials from this section

Ask Questions?    Discuss: Flex wipe behavior example  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.