Hi Roy...
How ya been? You could perhaps try something like this.
- Michael M.
import mx.transitions.Tween;
import mx.transitions.easing.*;
var YourDuration:Number = 25
var rampUp:Object = new Tween(_root.mc, "_x", Regular.easeIn, 0,100,20,
false);
rampUp.onMotionFinished = function():Void{
var continueTo:Object = new Tween(_root.mc, "_x", None.easeNone,
100, 300, YourDuration, false);
continueTo.onMotionFinished = function():Void{
var rampDown:Object = new Tween(_root.mc, "_x",
Regular.easeOut, 300, 400, 20, false);
}
}
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com