Flash Tweening

tween is an actionscript class and can be used after importing the core files.

import mx.transitions.Tween; import mx.transitions.easing.*; //Tween( obj:Object, prop:String, func:Function, begin:Number, finish:Number, duration:Number, useSeconds:Boolean);
Code language: JavaScript (javascript)

e.g.

var myRot:Tween = new Tween(myText, "_rotation", Elastic.easeOut, 0, 360, 3, true);
Code language: JavaScript (javascript)
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments