<?xml version=”1.0″ encoding=”utf-8″?>
<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml” layout=”absolute”>
<mx:Script>
<![CDATA[
import mx.effects.easing.*;

]]>
</mx:Script>

<mx:Sequence id=”movePauseMove”>
<mx:Move   xBy=”350″ duration=”2000″ easingFunction=”Bounce.easeOut”/>
<mx:Pause duration=”2000″/>
<mx:Move  xBy=”-350″ duration=”2000″ easingFunction=”Bounce.easeIn”/>
</mx:Sequence>

<mx:Panel title=”Pause Effect Example” width=”877″ height=”609″
paddingTop=”10″ paddingLeft=”10″ paddingRight=”10″ paddingBottom=”10″>

<mx:Text width=”325″ color=”blue” fontSize=”12″
text=”Click the image to start the Sequence effect.
The effect pauses for 2 seconds between moves. “/>
<mx:Image
source=”pink_rose.jpg”
mouseDownEffect=”{movePauseMove}”/>

</mx:Panel>
</mx:Application>

Advertisement