I have a bunch of tweens and scripts that i’d like to execute (to animate my stage using actionscript), but if i just list them normally in a function, they will naturally all perform at the same time.
function whatIneedToDo() {
doTween1();
doTween2();
loadSomeVars();
doTween3();
etc();
}
Is there a simple way to make actionscript wait a certain time before moving on to the next function?
like:
doTween1();
wait(100ms);
doTween2();
Or is writing listeners and functions for each tween the only way?
What about the new copy motion to AS3 function, could that be of any use in this case?
Thanks in advance.