Posted By

johnryan on 01/11/09


Tagged


Versions (?)

Who likes this?

6 people have marked this snippet as a favorite

themill
creativelifeform
edsonpavoni
philipz
davidino1978
tspitzr


AS3 Get all children of MC


 / Published in: ActionScript 3
 

  1. for (var i:uint = 0; i < target_mc.numChildren; i++){
  2. trace ('\t|\t ' +i+'.\t name:' + target_mc.getChildAt(i).name + '\t type:' + typeof (target_mc.getChildAt(i))+ '\t' + target_mc.getChildAt(i));
  3. }

Report this snippet  

You need to login to post a comment.