Waiting x seconds movie made configurable
Make a movie with the following scripts in it,
place it in the timeline you want to wait,
and name it "wait[Seconds]", eg. wait7:
endtime = getTimer() + Number(substring(_name,5)) * 1000;
// nothing in here
if(getTimer() < endtime) gotoAndPlay(2);
// ready, go
wow brilliant.... and done soooooo simply too......
i have seen other scripts that make the flash player go bonkers in order to make it pause for a while but this is it..... dump in a movie and make it wait..... unleash the power..... now i can make well coreographed anims without having to make endless amounts of movies to control the master..... thanx
- ande Date: 23/06/2003
Clap, clap, clap:
Very smart idea. Very handy, veeeery useful.
I was doing all sorts of "Clear interval" functions and such. This is just so much better and beautiful.
Could you make a component out of it?.Itīd be nice.
- Tahiche Date: 27/05/2004
- rathish Date: 08/09/2004