Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: actionscript delay timer |
From: | Matt Perkins |
Date: | Mon, 1 May 2000 21:35:12 +0100 |
yeah, there should be a away around this ... anyone know of actionscript
enhancements in flash 5?
god knows it needs it.
> ::: Matt Perkins
> sol_6 ::: http://hfaze.ice.org
hfazevnet [dot] net
icq: 2690753
-----Original Message-----
From: ownerchinwag [dot] com [ownerchinwag [dot] com]On">mailto:ownerchinwag [dot] com]On Behalf Of Darren
Critchley
Sent: Monday, May 01, 2000 4:08 PM
To: flasherchinwag [dot] com
Subject: Re: FLASH: actionscript delay timer
Matt Perkins wrote:
> given that delaytime = 500 this sould delay for 500 miliseconds right?
> but flash errors out saying that a loop executed more than 200,000 times
...
> what's wrong?
>
> Set Variable: "now" = GetTimer
> Set Variable: "then" = now + delaytime
> Loop While (now <= then)
> Set Variable: "now" = GetTimer
> End Loop
>
Flash thinks this is an endless loop. Fix it by doing this:
Frame1 = Set Variable: "now" = GetTimer
Frame2 = Set Variable: "then" = now + delaytime
Frame3 = If now <= then goto and play Frame2
else goto and play Frame4
end if
Frame4= continue with movie
Darren.
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 helpchinwag [dot] com
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 helpchinwag [dot] com
Replies
Re: FLASH: actionscript delay timer, Darren Critchley
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]