Flash and XML
From Wikicliki
This might be trivial but I realised that this doesnt work
function loadXML_btn(evt:Event):void
{
var pocketLoader:URLLoader = new URLLoader();
pocketLoader.load(new URLRequest("http://domain/getlast10items.php));
pocketLoader.addEventListener(Event.COMPLETE, processXML);
}
but this works (adding a spoofed variable at the end)
function loadXML_btn(evt:Event):void
{
var spoofNum:String = String (new Date().getTime());
var pocketLoader:URLLoader = new URLLoader();
pocketLoader.load(new URLRequest("http://domain/getlast10items.php?spoofNum="+spoofNum));
pocketLoader.addEventListener(Event.COMPLETE, processXML);
}
don't know why... but it solved my problem. It only occurs on windows but not on mac.