title: ActionScript 2, list of nested movieclips
body: <p>has anyone ever tried to get the list of all the movieclips (even the nested ones) that are on Stage at a specified stopped (and current) frame in Flash 8, AS 2?</p>
  
  <p>I did the following:</p>
  
  <pre><code>for(i in _root){
  if(typeof(_root[i])=="movieclip"){
  trace(_root[i]);}
  }
  </code></pre>
  
  <p>But this is good for a first level search: that is, if inside the movieclips you have other movieclips, you can't reach them. Furthermore, inside a movieclip there can be more then one movieclip.</p>
  
  <p>Has anyone ever tried to do what I'm trying to do?</p>
  
  <p>Bye!</p>