Flasher Archive

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


Subject: Re: FLASH: Loop While
From: NYCSexxy
Date: Sat, 7 Aug 1999 06:09:20 +0100


> I'm trying to use a frame action to pause my movie.
>
> However, I can detect no cessation of the playback whatsoever even if I
> set the Loop While value to just under 200000. Flash just seems to whizz
> through it at low values or add up incorrectly with higher values.
>
> Has anyone else tried to do this?
> I suppose I could just extend to timeline but it doesn't seem quite as
> elegant somehow.

an effective way I use is to send the movie into a loop of say 4 frames.
before sending into the loop set a variable with the GetTimer to get the
current time in the movie. then at the end of the loop have it use the
GetTimer value again and subtract the variable from before it entered the
loop. then divide by 1000 to get the number of seconds that have passed put
this into an if statement to either send the movie back into the loop or
start playing again.

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Re: FLASH: Loop While, yan

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