Hey,
I’m programming some tweens with actionscript and I want the flashplayer to wait 0.5 seconds between each action. I’ve used set interval before, but that was when I only wanted the playhead to stop, wait so many seconds.
In this instance I need it to go like this:
import mx.transitions.easing.*;
import mx.transitions.Tween
var mc1:Tween = new Tween(mc1, “_y”, mx.transitions.easing.Bounce.easeOut, -20, 330, 10, false);
wait 0.5 seconds (need the code for this bit!)
var mc2:Tween = new Tween(mc2, “_y”, mx.transitions.easing.Bounce.easeOut, -20, 330, 10, false);
wait 0.5 seconds (need the code for this bit!)
var mc3:Tween = new Tween(mc3, “_y”, mx.transitions.easing.Bounce.easeOut, -20, 330, 10, false);
e.t.c and there are 20 mc’s that I need to tween. Obviously don’t want to have mountains of nested code, any ideas? If you could set out the syntax in your replies that would be great as otherwise I probably won’t understand!
Cheers