/ Published in: ActionScript 3
This is handy to check if the swf you are working in is loaded into another swf. It also shows how to call a function in the parent swf if it exists.
Expand |
Embed | Plain Text
if (this.parent.parent != null) { var parentObj:Object = this.parent.parent as Object; parentObj.functionName (null); }
You need to login to post a comment.
