Skip to content

Instantly share code, notes, and snippets.

@seacloud9
Last active December 11, 2015 03:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seacloud9/4536538 to your computer and use it in GitHub Desktop.
Save seacloud9/4536538 to your computer and use it in GitHub Desktop.
// jStick is a movie clip object within Flash that flash movie contains several graphic symbols
// the code below can be customised by replacing jstick with another flash movie clip that is exposed to actionscript
// then loop though the movie and it prints out the names of the child objects
for (var x:uint = 0; x < jStick.numChildren; x++){
trace ('\t|\t ' +x+'.\t name:' + jStick.getChildAt(x).name + '\t type:' + typeof (jStick.getChildAt(x))+ '\t' + jStick.getChildAt(x));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment