Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: Random Starting of a bunch of MC's |
From: | Darren Critchley |
Date: | Mon, 3 Apr 2000 05:02:21 +0100 |
Ok, me here again, after much playing around and input, I managed to put
between 5 and 25 MC's on the stage at random positions and random sizes
(btw Cheri, I chose 20% sizing as the max because I drew the orignal MC
WAY TOO big)
So here now is the dillema, I want to have each MC start at a fairly
random time, the code below is what I have tried to use, but all MC's
seem to start at the same time.
TotalStars is the total amount of random stars duplicated.
The MC's are labelled Star1 to Star'X'
All Star MC's have been stopped.
Set Variable: "StartTime" = GetTimer
Set Variable: "TimeWait" = Random(2000)+1
Loop While (TotalStars<>0)
Set Variable: "CurrentTime" = int(GetTimer)
If (CurrentTime>=TimeWait)
Set Variable: "Starname" = "Star" & TotalStars
Begin Tell Target (Starname)
Play
End Tell Target
Set Variable: "StartTime" = int(GetTimer)
Set Variable: "TotalStars" = TotalStars-1
End If
End Loop
Stop
In the designer mode, this code causes an error because more than 20000
loops are completed. The second problem is when compiled, they alll
flash at the same time.
Anybody got any ideas?
Darren.
--
http://www.aurorainformationsystems.com/
http://persweb.direct.ca/darrenc/
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California
-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
Re: FLASH: Random Starting of a bunch of, Robert Bleeker
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]