1 Reply Latest reply on Apr 10, 2007 8:12 AM by peterent

    How to import external XML file

    comlong Level 1
      Hello guys:
      From this demo http://www.adobe.com/devnet/flex/quickstart/accessing_xml_data/#section2
      we know how to use a intrernal XML document. I know there are several way to load a external XML like:
      What I want to know is whether I could load a XML file directly, not use HTTPService and send. For a instance:
      private var login:XML = ("data/login.xml");
      or something like that. And then I could use login.user or login. pass .
      Now seems it is easy to control a intrernal XML data. I want to import a external XML file and use it like a intrernal XML.
      Thanks a lot