2 Replies Latest reply on Apr 10, 2007 6:53 AM by maguskrool

    Dynamically create/change an .as file

    maguskrool Level 1

      I was wondering if it's possible to use the information on an XML file to dynamically define properties and methods on an .as file. Let's say I have a MyClass.as:

      class MyClass {
      //properties and methods for MyClass

      Then I have a MyXML.xml:

      <?xml version="1.0" encoding="ISO-8859-1"?>


      I would like MyClass to define its public and private properties using the data on MyXML.xml, can this be done? If so, can you at least give me some hints as to how it is done? Thank you.