Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Pausing
From: Laura Mollett
Date: Thu, 11 May 2000 02:25:40 +0100

> I checkin' out some pause tutes and it has caused me to ask....
> Can someone post the code for the simplest Pause Movie actionscript out
> there ?

I'd say the very easiest is:
if the movie is set at 12fps
you want a 2 sec pause
add 24 frames ;)
somehow I don't think that's quite what you're looking for though...

There's also the GetTimer thing. I think that would be the 2nd easiest.
Set Variable: "whatever" = GetTimer
Set Variable: "2ndwhatever" = GetTimer
If whatever - 2ndwhatever > 20 (or whatever you want)
play
or goto frame label or whatever you want it to do.

It counts in microseconds, so you might actually want a number more like 500
or 5000 or something.
uhhh, I haven't tested this :)

Laura

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]