Flasher Archive

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


Subject: FLASH: load mc
From: Keith Salisbury
Date: Tue, 4 Jul 2000 15:26:25 +0100

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)

hope this helps

keith
Flash Developer
Global Beach
web>> http://www.globalbeach.com
email>> keith#atglobalbeach [dot] com

------------------------------

Date: Tue, 04 Jul 2000 12:09:53 +0200
From: nadia <nadiaatnaloo [dot] net>
Subject: FLASH: load mc

hi there
i am standing in front of a quite big problem (about 1.2 mb)...

i have 80 mc. each of them contains 2 bitmaps. i don't need to show them
all at once,actually i want to load randomly 5 mc. but how do i randomly
load a mc? i know how to load a .swf, that is not a problem, so my question
is:
is there a simular way of loading a mc?


nadia


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, Till Steinmetz

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