We Recommend

Smalltalk, Objects, and Design Smalltalk, Objects, and Design
This reference and text treats the Smalltalk programming system and the web of object-oriented ideas within and around it. Thus it is more than a guide to the language; it also examines Smalltalk in its technical and historical setting, and along the way addresses the questions that every Smalltalk developer sooner or later naturally wonders about.


Posted By

damarev on 07/17/06


Tagged


Versions (?)


Who likes this?

3 people have marked this snippet as a favorite

jkochis
horizens
andrewrench


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.