Skip to main content
December 4, 2006
Question

to add the same object

  • December 4, 2006
  • 2 replies
  • 198 views
How can I add the same object to my movie every 2 hours....? I want that it will be add by himslef....every 2 hours...
Ineed to create a movie clip and what to write in the action Text ?
This topic has been closed for replies.

2 replies

Inspiring
December 4, 2006
If you are planning to “add” this object every 2 hours regardless if the SWF is running or not you would need to create a Date object to handle this. The setInterval will work fine as long as the SWF is running. Once the SWF is closed and opened again it will reset the attached movieclips.

For more info hit F1 when in Flash and search “Date constructor”.
Marghoob Sulemaan
Inspiring
December 4, 2006
you can use "setInterval" method.