Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Timed and Random. |
From: | louis-philippe michaud |
Date: | Thu, 21 Sep 2000 00:22:47 +0100 |
in flash 4...
-do another movie clip name "actions"
-first frame of this movieclip:
Set Variable: "starttime" = GetTimer //initiate the timer
Set Variable: "time" = 30000 // is the times in milliseconds
(frequency)
-second frame of this movie clip:
If (GetTimer - starttime >= time) // check if we have to change the
image
Set Variable: "starttime" = Gettimer // reset the timer
Begin Tell Target ("_level0/images") // tell target to the sequence
of images
Go to and Stop (random(GetProperty ("_level0/images",
_totalframes)) + 1) // random in your sequence
End Tell Target
End If
-third frame of this movie clip
Go to and Play (_currentframe - 1)
you can do all this on your scene... but i like to make a movie clip actions
and like that i can control my actions like i wish...
In flash 5 you just have to make a loop of your function... if you want i
will explain... but now i have to go... sorry !!!
phil
----- Original Message -----
From: "Skizz" <jmusantenetzero [dot] net>
To: <flasherchinwag [dot] com>
Sent: Wednesday, September 20, 2000 1:46 PM
Subject: FLASH: Timed and Random.
> OK, I have an MC on the main timeline.
>
> The MC has a Stop action in the first frame, so it's just stationary
there.
> But I also have 10 other frames with stuff in it, so basically, the MC has
> 11 frames in all.
>
> What I want to happen is, I want the MC to go and play a frame in the MC
> RANDOMLY, and every 30 seconds.
>
> So in other words, the MC stays in the 1st frame, just chillin. But every
30
> seconds, it goes randomly to another frame in the MC, of which there are
10
> others besides the 1st one for a total of 11. Then it goes back to the
first
> frame and stays there again for 30 seconds, and so on and so forth.
>
> Any ideas?
>
> _______________________________________________
> Why pay for something you could get for free?
> NetZero provides FREE Internet Access and Email
> http://www.netzero.net/download/index.html
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> NudeGuru.com is proud to sponsor the Flasher list
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> IT'S THE ART OF MONEY, HONEY!
> Tips and Advice from some of the most popular Flash
> artists + industry power-brokers on how to hold onto
> your rights, negotiate contracts and get full value
> for your work.http://www.nudeguru.com from Franke James
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpchinwag [dot] com
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: Timed and Random., Skizz
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]