AIR: URLRequest works on Windows but not on Mac
By admin on 18/07/2009
If you find that URLRequest works on Windows but not on Mac then simply prepend file:// to your url string. This will then work on both Windows and Mac.
var myFilePath:String = "someFile.xml";
var request:URLRequest = new URLRequest("file://" + myFilePath);
- Tags:
- Uncategorized