AS3 access root from loaded swf

In the root path of your external swf file, defined an object that represent the root path of the container swf.

var rootObj:Object=this.parent.parent.parent as Object;

You may also like...

Leave a Reply