Flasher Archive

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


Subject: Re: FLASH: Randomize Movie Clip Placement : Revisited
From: Jose/DoubleYou
Date: Thu, 14 Sep 2000 18:03:40 +0100

Well, maybe you could have your MC named sequentally (movie1,movie2...) and
then just set a loop.
I'll give you the F4 version since it's easier to get to the F5 version
than do the opposite way :o)

Loop while (i<NumberofMCs)
Set Property ("/movie"&i, X Position) = Random(whatever)
Set Property ("/movie"&i, Y Position) = Random(whatever)
Set Property ("/movie"&i, X Scale) = Random(whatever)
Set Property ("/movie"&i, Y Scale) =
GetProperty("/movie"&i,_xscale) -------->just in case you don't want to
distort them
Set Property ("/movie"&i, Alpha) = Random(whatever)+50
------------->to ensure they will be visible
Set Property ("/movie"&i, Rotation) = Random(whatever)

i=i+1
End Loop


Then when you get the button clicked you just have to tell the movie to
play that frame again.

With the OOP that F5 offers it's really nicer and cleaner to do this sort
of things.

At 10:35 14/09/00 -0500, you wrote:
>Hmm..
>To clarify (or maybe muddy things up)...
>The site from Kurt Dommermuth is pretty cool, but it seems that each of
>those "globules" is a duplicate movie clip. I am wanting to have several
>DIFFERENT movie clips randomized (and stationary) at the start of a movie
>and at the click of a button...

-----------------------------
Jose M. Rubio
DoubleYou
joseatdoubleyou [dot] com
http://www.doubleyou.com
Tel. +34 93 292 3110
Fax. +34 93 292 2197
ICQ Number: 68390036


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 helpatchinwag [dot] com


Replies
  FLASH: Randomize Movie Clip Placement : , Flash Gordon

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