Posted By

visualadvance on 02/16/11


child Parent

Versions (?)

AS3: Check if SWF is a Child

 / Published in: ActionScript 3

A simple trick I use when developing locally to determine if the swf is the parent or loaded in its shell.

  1. if (parent.parent == null) developerLoad ();

Report this snippet  

You need to login to post a comment.