6 Replies Latest reply on Aug 12, 2009 7:44 AM by larry_schwartz

    Looping/iterating the structure (DOM?) of a Canvas and children

    larry_schwartz

      I did some forum and web searches and couldn't find a clear answer  (or perhaps they were clear and I didn't understand them).

       

      I have a Canvas in which users trigger Actionscripts to create and position new Panels.

       

      The Panels have Text objects in which they can type information.

       

      I need to iterate through the Canvas, discover all of the Panels, and get each Panel's ID, X/Y coordinates, and Text-object content.

       

      Can anyone point to an example or tutorial that shows this?  Or maybe provide an example?

       

      I think the XML and XMLList classes are the way to go, but I'm not positive.

       

      Thanks for any help.