jimioh
03-23-2009, 03:44 AM
I am having the following error:
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: app:/Users/james/Documents/tentacle/player/trunk/bin-debug/player-config.xml
with the following code:
private function parseConfiguration():void {
XML.ignoreWhitespace = true;
//var configXML:XML = new XML();
var urlLoader:URLLoader = new URLLoader();
urlLoader.addEventListener(Event.COMPLETE, processXML);
trace(fileName);
urlLoader.load(new URLRequest(File.applicationDirectory.nativePath + "/player-config.xml"));
}
File.applicationDirectory.nativePath contains a file player-config.xml.
I can't figure out what is happening. Does anyone have an ideas?
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: app:/Users/james/Documents/tentacle/player/trunk/bin-debug/player-config.xml
with the following code:
private function parseConfiguration():void {
XML.ignoreWhitespace = true;
//var configXML:XML = new XML();
var urlLoader:URLLoader = new URLLoader();
urlLoader.addEventListener(Event.COMPLETE, processXML);
trace(fileName);
urlLoader.load(new URLRequest(File.applicationDirectory.nativePath + "/player-config.xml"));
}
File.applicationDirectory.nativePath contains a file player-config.xml.
I can't figure out what is happening. Does anyone have an ideas?