/ Forside / Teknologi / Multimedie & design / Flash / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Flash
#NavnPoint
bentjuul 4251
molokyle 1978
Klaudi 1488
jhvp 1265
pallenoc 1160
katekismus 1020
Fnollerpi.. 790
slander 510
Dr.Disco 500
10  Flash77 500
How to make random mc
Fra : Sam


Dato : 21-05-01 03:36

Hi i was wondering how i make an actionscript for making radom mc. i want to
make a screensaver in flash5, and make it so the movie clips play rondomly
over and over again, this will have about 25 movic clips(mc) in it. if
anyone has a clue how to do this id appreciate it , thank you
sam



 
 
Michael Peo (21-05-2001)
Kommentar
Fra : Michael Peo


Dato : 21-05-01 13:57

declare a variable named fx. "number"
number = random(25) + 1
Target you mc's with something like this.

tellTarget ("mcname" add number) {
do something
}

If each of your diff. mc is placed in its on label'd (like label1, label2,
label3 etc.) frame you could tell you movie to got to frame...: "label" add
number

/peo
peo@bandage.dk
www.bandage.dk

"Sam" <bockidy@home.com> wrote in message
news:Ba%N6.23853$eK2.4325024@news4.rdc1.on.home.com...
> Hi i was wondering how i make an actionscript for making radom mc. i want
to
> make a screensaver in flash5, and make it so the movie clips play rondomly
> over and over again, this will have about 25 movic clips(mc) in it. if
> anyone has a clue how to do this id appreciate it , thank you
> sam
>
>



Søg
Reklame
Statistik
Spørgsmål : 177501
Tips : 31968
Nyheder : 719565
Indlæg : 6408526
Brugere : 218887

Månedens bedste
Årets bedste
Sidste års bedste