i’m just starting to learn flash and as3,
i need to send to a flash movie text using javascript and the text will move around.
first i created a label that get text from javascript
the next thing i want to do is move the label around, i think i might be missing something but dont know what.
i tried using motion tween but the label refuse to move for some reason
Give the TextField a name instance, for example “myDinamicText”.
Donwload TweenLite/TweenMax from greensock (http://www.greensock.com/tweenlite/) and then simply write something like this
where 0.5 is the tweening duration and the others variables are the destination coordinates.
EDIT:
if you want to use the Tween Class, just write:
you can have a look here for a tutorial on how to use it:
AS3 Tween Class