PDA

View Full Version : Where to put events in attachMovie


simail
03-09-2002, 04:04 PM
greetings o masters

this is quick

can anyone tell me where i write the events for an
attachMovie clip. can they by written in the same
event handler as the parent or calling clip?

many thanks

simail

tg
03-09-2002, 04:12 PM
you can't use clipEvents with attachMovie... at least not on the mc your attaching...

however, you can put a controller mc inside the mc you want to attach and have your events there. just be aware of potential problems with pathing...

an added benefit of putting the events on a mc inside your attached mc, is that you don't use any cpu cycles before you attach the mc or after you remove it.

simail
03-09-2002, 04:24 PM
thanks a lot TG

thats clear as a bell

SM