Posted By

damarev on 07/17/06


Tagged


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

jkochis
horizens
andrewrench
emilymer


list moviclips inside movieclips


 / Published in: ActionScript
 

Expression Type - Result String - string Movie clip - movieclip Button - object Text field - object Number - number Boolean - boolean Object - object Function - function

  1. traceClips = function (timeline)
  2. {
  3. for (clipName in timeline)
  4. {
  5. if (typeof (timeline[clipName]) == "movieclip")
  6. {
  7. trace(timeline);
  8. traceClips(timeline[clipName]);
  9. }
  10. }
  11. }
  12. traceClips(this);

Report this snippet  

You need to login to post a comment.