Flasher Archive

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


Subject: Re: FLASH: load mc
From: Till Steinmetz
Date: Tue, 4 Jul 2000 15:40:04 +0100

At 15:10 04.07.00 +0100, you wrote:
>Nadia,
>Best thing to do is set up an array with the names of you MCs like:
>
>Set Variable: "mc1" = "movie1.swf"
>Set Variable: "mc2" = "movie2.swf"
>Set Variable: "mc3" = "movie3.swf"
>.
>.
>Set Variable: "mc49" = "movie49.swf"
>Set Variable: "mc50" = "movie50.swf"
>
>Then randomly generate a number between 1 and 50 and
>
>Set Variable: "randomnumber" = Random(50)
>
>Then use the random number to pick your movie clip:
>
>Load Movie (Eval("mc"&randomnumber,0)

Wouldn't it be better to just generate a random number and directly append
it to the file name ?
Just name your .swf files "movie0.swf" -> "movie49.swf" and do this.
Load Movie ("movie"&random(50)&".swf", 1)







flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: load mc, nadia

Replies
  FLASH: load mc, Keith Salisbury

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