3 Replies Latest reply on Apr 20, 2013 10:05 PM by kglad

    embedding .xml into a .swf?

    MattHughes5401

      I am trying to creat a standalone .swf file with my .xml file embedded to creat an image carousel.  I have found no way to do this (I am super new to Flash) except for the

       

      [Embed(source="carousel.xml", mimeType="application/octet-stream")]

      protected const EmbeddedXML:Class;

       

      var x:XML = XML(new EmbeddedXML());

      trace(x.toXMLString());

       

      but when I do this I get a Sytax Error on line 2.  Please help, thanks in advance....