I think it is the ?whatever=xxx that it is having issues with - so I am not sure doing it another way does not change it, I don;t think - it seems to only want "xxx.swf" not "xxx.swf?whatever=whatever"
________________________________________ From: [email protected] [[email protected]] On Behalf Of Nathan Mynarcik [[email protected]] Sent: Thursday, December 09, 2010 2:01 PM To: Flash Coders List Subject: Re: [Flashcoders] stop caching You could add a new Date variable at the end of your swf like: var d:Date = new Date() var nc:String = "?nocache=" + d.getTime(); startLoad("moive.swf"+nc); Nathan Mynarcik [email protected] www.mynarcik.com <http://www.mynarcik.com/feed/rss.xml> <http://www.twitter.com/NMynarcik> <http://www.facebook.com/pages/Nathan-Mynarcik-Interactive-Web-Developer/265263144230> <http://www.linkedin.com/in/nathanmynarcik> On Thu, Dec 9, 2010 at 1:07 PM, Lehr, Theodore <[email protected]>wrote: > 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

