View Full Version : arrays and animation
smitty77
07-30-2002, 07:59 PM
How can one produce animation from information in arrays and not by tweened animation? Say I have arrays of position data and I want to update the position of a movie clip object on the screen with each frame, but do not want to have to set keyframes for each position, only read from the array and update the position based on array values. Thanks,
Jeff S.
Grifter
07-30-2002, 08:38 PM
welcome to the forums.
May i be the first person (and probably not the last) to advise you to use the search facility in order to find previous threads about topics which inevitably get covered more than once, e.g. this topic.
i just posted on a thread about this yesterday (in the actionscript forum).
please look at this thread:
http://actionscript.org/forums/showthread.php3?s=&threadid=14414
and hav a look at my post there... just change from creating the array by mouseclicks, to creating an array on load with predefined targets.
try searching for code on actionscripted movement - it's probably in the tutorials section as well.
Regards
Grifter
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.