Loop through all display groups?

Anyone know of a way to loop through all display groups? I’m guessing they’re stored in a table somewhere…

Thanks! [import]uid: 19193 topic_id: 19097 reply_id: 319097[/import]

The parent group for a screen is called stage (main group). Read this article to understand the concept of stage

http://developer.anscamobile.com/content/application-programming-guide-graphics-and-drawing

You can access it using

  
display.getCurrentStage()  
  

This will return a group object and then you can use the group functions to remove or inserrt

hope this helps… [import]uid: 84539 topic_id: 19097 reply_id: 73641[/import]