0 Replies Latest reply on Feb 28, 2007 2:38 AM by David_S_deB

    SimpleXMLEncoder- SimpleXMLDecoder

    David_S_deB
      I´ve converted a AS3 Dictionary Class that contains other complex classes as the data fields to XML using SimpleXMLEncoder, which works well.
      I would now like to convert the XML back to a dictionary and the data fields back to the complex custom objects I have in AS3.

      Is this possibles with SimpleXMLDecoder? If not I supose I could parese throught the children and recreate my Custom objects. Would that be the best solution? Is there a way to cast XML objects to Custom objects (if they have the same properties)?

      Thanks in advance.

      David