I am trying to incorporate the TILED! program into flash following the tutorial posted on their wiki.
I have downloaded the zip file and am getting this as an error:
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:///C|/Users/Tyler/Downloads/Tiled/tiled/supermarioworld.tmx
at TileCode/loadMapXML()[C:\Users\Tyler\Downloads\Tiled\TileCode.as:32]
at TileCode()[C:\Users\Tyler\Downloads\Tiled\TileCode.as:28]
I am unsure why I am getting the error. This is the loadMapXML code I am using:
private function loadMapXML():void {
xmlLoader = new URLLoader();
xmlLoader.addEventListener(Event.COMPLETE, xmlLoadComplete);
xmlLoader.load(new URLRequest("tiled/supermarioworld.tmx"));
}
I have done google searches and everywhere says to make sure that the url to the file is correct, well in this case it is correct.