If this is a web project, just have a local server on your PC and test using that, then deploy to the remote server.

You can always clear the browser cache.

Paul



On 10/12/2010 14:56, Lehr, Theodore wrote:
so if it is local - anyway to get around caching?

________________________________________
From: [email protected] 
[[email protected]] On Behalf Of Juan Pablo Califano 
[[email protected]]
Sent: Thursday, December 09, 2010 9:03 PM
To: Flash Coders List
Subject: Re: [Flashcoders] stop caching

If you are loading the swf directly from the file system (that is, localy)
appending parameters to the querystring won't work because they'll be
considered part of the file name. So those parameters will not be
interpreted as such. In a http environment (i.e. a server, local or remote),
on the other hand, the querystring will not be considered part of the file
name.

So yes, it's a local / server issue.

Cheers
Juan Pablo Califano

2010/12/9 Lehr, Theodore<[email protected]>

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

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


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

Reply via email to