change main movie content from an external movie clip
Hi!
How do I change some content of main movie from external mc?
Lets say I have a menu on my main.swf, so when I click one of the buttons it adds a child.swf into movie clip 'mc'. Thats simple like this mc.addChild("child.swf"); ( or something like that, there r few more steps in as3 i'm just demonstrating ).
Now how do I do that if the menu is an external movie itself(menu.swf)?? because in the menu.swf it has no recollection of what 'mc' is, so when I debug it just give me 'mc' is not defined, the buttons won't even show ? how do solve this problem?
I'm thinking if it's possible I can reference main.swf's instance names in menu.swf?
