/ 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
Load movie and Tell target
Fra : Xenomorph


Dato : 01-11-01 12:27

Hello everybody.

Can sombody explain to me how you make an MC a target with the tell target
methodes and then let other MCs load into that target with the load movie
action, and where should I put the correct actions?
Its really urgent.

Thanks very much,
Tim.




 
 
mat (01-11-2001)
Kommentar
Fra : mat


Dato : 01-11-01 14:16



To target an MC with the tellTarget action all you have to do is give it an
instance-name (window>panels>instance).

ex:

on (release) {
   tellTarget ("clip") {
_x += 20
   }
}

each time the button is released the MC named clip moves 20 px to the right.

the mc you load with the loadMovie action is stored in a seperate .swf.

ex:

on (release) {
   loadMovie ("2file.swf", "clip");
}

this loads the 2file.swf into a targetmovieclip named clip.

these actions are all stored in buttons but can be placed really just about
anywhere (the maintimeline, inside eventhandlers a.s.o.)

I hope this helps a bit

mat


--
Vil du lære at kode HTML, XHTML, CSS, SSI eller ASP ???
- Pædagogiske tutorials på dansk
- Kom godt i gang med koderne
KLIK HER! => http://www.html.dk/tutorials

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

Månedens bedste
Årets bedste
Sidste års bedste