Repeat Rotate effect until the user clicks a Button control : Rotate 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 » Rotate EffectScreenshots 
Repeat Rotate effect until the user clicks a Button control
Repeat Rotate effect until the user clicks a Button control
   
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Rotate id="myRotate" repeatCount="0" />
    <mx:Image source="@Embed(source='logo.jpg')" mouseDownEffect="{myRotate}" />
    <mx:Button id="myButton" label="Stop Rotation" click="myRotate.end();" />
</mx:Application>

   
    
    
  
Related examples in the same category
1.Rotate effectRotate effect
2.Use Rotate effectUse Rotate effect
3.Set Rotate effect target, origin positionSet Rotate effect target, origin position
w_w___w___.__ja__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.