Imagine the following setup. The main swf loads a child swf.
In AS2 i would simply use _parent or _root to call the desired function. How can that be done in AS3?
Can this still be done? Can I call a function on the main swf from the loaded one? How about the other way around, this time, from main to loaded swf?
Thanks for the support!
In AS3 you can call the _parent (AS2) using MovieClip(parent) (AS3), and similar for the _root. If you are loading a child swf you have to realize that the child normally lives in the loader you loaded it with, so to get back to the swf that loaded it you would have to go MovieClip(parent.parent).
As far as talking to the child swf goes, go thru the following discussion... http://forums.adobe.com/thread/720211?tstart=0