Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Reach elapse time then close |
From: | Helen Triolo |
Date: | Fri, 21 Apr 2000 16:25:33 +0100 |
"Q. Paradigm" wrote:
>
> Put all of these actions into a MC:
>
> Frame 1:
> Stop
>
> Frame 2:
> Set Variable: "BaseLine" = Int (GetTimer/1000)
>
> Frame 3:
> If ( ( ( Int(GetTimer /1000) ) - BaseLine) > 5)
> Call ("/scripts:CloseAll")
> Set Variable: "OverState" = True
> End If
>
> Frame 4:
> Goto frame 2 and play
>
> You can then plop this MC on the stage and tell target to it to Play
> whenever you want to time something.
>
> The reason you have to do this is because you are only allowed loops with
> 20000 actions or fewer in them. An MC must be used to do this kind of
> looping.
>
Shouldn't frame 4 be Goto frame *3* and play? You don't want to reset
the BaseLine variable in each loop. And also, how do you ever get from
frame 1 to frame 2 if there's a stop action in 1? Is frame 2 labelled
and you tell target to that frame? But I see the point of doing it this
way, I think--it's to introduce extra time delay by going from frame to
frame so that the total time you're checking for is much less than the
total possible time that could elapse before flash quits (=200000*fps, a
big number, instead of 200000*processor speed, a small number, or
something like that).
Helen
----------------------------------------
helen triolo � http://i-technica.com
designeri-technica [dot] com � 301-424-6037
----------------------------------------
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: Reach elapse time then close, Q. Paradigm
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]