Quantunet.com

My Account

Joins Us
Flash 8 Actionscript 2.0 Knowledgebase
A Rotation Tween With The Tween Class  

Download

Actionscript

import mx.transitions.Tween;
import mx.transitions.easing.*;

var RotateT:Tween = new Tween(my_mc, "_rotation", Elastic.easeOut, 0, 360, 4, true);

RotateT.onMotionFinished = function() {
this.continueTo(0, 4);
}


Note: Press the "refresh" button in the browser to play the animation again.



© 2007 Quantunet LLC All Rights Reserved | Intellectual Property | Terms of Use | Privacy
Home | About Quantunet | FAQ's | Contact Us