Skip to main content
November 30, 2006
Question

is there a PHP sleep() function in Flash?

  • November 30, 2006
  • 1 reply
  • 417 views
Hi!

Does anyone know of a Flash function similar to the PHP function sleep() ?
This topic has been closed for replies.

1 reply

November 30, 2006
not directly... You can use a timer(setInterval) that will change state of your application; it might be a boolean value for example. Could you post, with more details, what you want to do?
December 1, 2006
what i want to do is to remove some movie clips through a loop, but i don't want them do dissapear all at once, but one by one... let's say 0.2 seconds between them...

thanks

quote:

Originally posted by: anonymous thing
not directly... You can use a timer(setInterval) that will change state of your application; it might be a boolean value for example. Could you post, with more details, what you want to do?


December 1, 2006
In the example a put two pieces of code: one for a complete removeMovieClip and second for hidding mc so take one of this solution.