0 Replies Latest reply on Sep 18, 2007 9:11 AM by marke

    (AS 3.0) How to separate functionality using classes

      Anyone familiar with this? I have already tried dividing among classes and it is not working.

      I have created the following code that pulls data from an external xml file into a datagrid. I have been trying to figure out how to get it to function using classes and/or packages. I'd like to separate the functionality into separate classes for each of the following:

      1) A class for loading the XML file(s) (there will likely be more datagrids and more xml files)
      2) A class for "drawing" the datagrid based on the xml
      .... others you can think of??

      I have attached the code in question.