4 Replies Latest reply on Aug 11, 2010 10:46 AM by Balakrishnan V

    how to bind to local xml file?

    Mark Embrey

      I have a local XML file referenced in my Declarations tag:

      <fx:XML id="myXMLdata" source="assets/names.xml" />


      I previously had a proof of concept version working with the XML defined in my MXML with a bindable tag:


      public var names : XML= <root>
      etc., etc.


      I need to place the xml in a separate local file so that changes to the file will persist.

      How do I do this and bind to it?