getChildren() – call this function to trace a list of the children of a clip and their depths

Just a handy wee function I use a lot to troubleshoot interactions.

function getChildren():void 
{ 
  for (i = 0; i < numChildren; i++) { 
    trace("child at: " + i + " is " + getChildAt(i).name); 
  } 
}
Tech Reference:

Leave a Reply

Your email address will not be published. Required fields are marked *

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑