var xmlLoader:URLLoader = new URLLoader();
var file:File = flash.filesystem.File.applicationDirectory;
file = file.resolvePath("my.xml");
var xmlPath:URLRequest = new URLRequest(file.url);
try {
xmlLoader.load(xmlPath);
} catch (error:Error) {
trace("Unable to load requested document.");
}
Works perfectly on Windows but I get the #2032 error on Mac. If I can't get this fixed today then I'll probably be forced to use Zinc instead...
No comments:
Post a Comment