Groups | Blog | Home
all groups > flash actionscript > october 2007 >

flash actionscript : wait for x seconds


xcoldnet
10/28/2007 4:50:03 PM
I just wish the video to wait for 3 seconds before starting, what action script command should I use?

Thanks,

kglad
10/28/2007 4:54:58 PM
xcoldnet
10/28/2007 6:47:40 PM
OK, the word video is confusing. I just wish to use as2 oe as3 (whichever is
the best).

I want the timeline to hold itself for 3 seconds and after that start the
usual play. I am not loading a video, I am using the word video to refer to the
normal execution of the .swf file by the flasf player.

So, with this new data can you tell me how to tell the flasf player to wait 3
seconds before playing the .swf file? thanks.

Dario
clbeech
10/28/2007 10:22:14 PM
many ways, use an interval fire after 3 seconds (pref), or getTimer() with an
onEnterFrame event and a condition, or simply count the time with onEnterFrame,
um... I'm sure others, I think something like setTimeout() ...

AddThis Social Bookmark Button