i've created simple shape(movieclip) in main scene.
so, wanna move shape via motion tween
in actionscript.
please tell me how can ?
notice :
i'm not talking create motion tween
in flash timeline. need in actionscript.
p.s :
i'm using flash professional.
example code official reference.
import fl.transitions.tween; import fl.transitions.easing.*; var mytween:tween = new tween(myobject, "x", elastic.easeout, 0, 300, 3, true);
also here tutorial topic.
just info: can tween not position of object other numeric parameters, e.g. width , height.