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