Groups | Blog | Home
all groups > flash actionscript > may 2006 >

flash actionscript : Attach mc's from parent SWF to loaded SWF


hfaze
5/24/2006 6:48:27 PM
I've got a movie (parent) that loads several other SWFs (children). I need for
the parent SWF to attach movie's to the child SWFs from it's library - but i
can't get it to work.

Is there a way to do this?

blemmo
5/25/2006 11:54:57 AM
If the children are loaded into empty clips, they can be addressed via the
instance name of the empty MC, and you can use
holderMC.attachMovie("linkageID","newName",depth);
to attach the symbol with "linkageID" to the MC loaded into the instance
"holderMC".

hth,
blemmo
AddThis Social Bookmark Button