I am trying to prevent caching via:

function startLoad(dfile:String)
{
    var ran:int = Math.round(Math.random()*100000);
    var dfileb:String = new String();
    dfileb = dfile+"?ran="+ran;
    var mRequest:URLRequest=new URLRequest(dfileb);
}

startLoad("moive.swf");

but I get an error 2044: Unhandled IOErrorEvent:text=Error #2035: URL Not Found

What am I doing wrong?

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to