1 Reply Latest reply on Aug 20, 2007 6:13 PM by ntsiii

    actionscript XML source

    DeusAquilus
      Hello,
      I am trying to get a local XML file without the hassle of doing a URL call. I tried doing an embed:
      [Embed(source="file.xml")]
      public var xmlfile:Class;
      This worked on occasion but for some reason I am getting a "Syntax error: xmltagstartend is unexpected" error (which actually does not point to any particular line in my code).
      I was wondering, in MXML, you can do a <mx:XML source="file.xml">, how do you do this in actionscript?