Using the Move effect to move the button diagonally : Button Effect « Components « Flex






Using the Move effect to move the button diagonally

Using the Move effect to move the button diagonally
     
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    backgroundColor="white">
    <mx:Move id="myEffect" xBy="50" yBy="50" />
    <mx:Button label="Click on me" mouseDownEffect="{myEffect}" />
</mx:Application>

   
    
    
    
    
  








Related examples in the same category

1.Button with rollOverEffect propertyButton with rollOverEffect property
2.Button with mouseDownEffectButton with mouseDownEffect
3.Button mouse down effectButton mouse down effect
4.Button creationCompleteEffectButton creationCompleteEffect
5.Button mouse down and mouse up effectButton mouse down and mouse up effect
6.Add SoundEffect to Button mouse down effectAdd SoundEffect to Button mouse down effect
7.Button WipeLeftButton WipeLeft
8.Use Matrix3D to Apply Transformations Within a LayoutUse Matrix3D to Apply Transformations Within a Layout
9.Transform a button aroundTransform a button around