You're welcome :)  

> -----Original Message-----
> From: T. Michael Keesey [mailto:[EMAIL PROTECTED] 
> Sent: 15 February 2007 15:28
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] onLoadComplete, but no onLoadInit
> 
> On 2/15/07, Karina Steffens <[EMAIL PROTECTED]> wrote:
> > Hi Michael,
> >
> > I address the problem of testing cache-busting code in the 
> IDE in my blog:
> > 
> http://blog.neo-archaic.net/2006/08/02/nocache-for-javascript-and-flas
> > h.htm
> >
> > Basically, what you need to do is check for 
> > System.capabilites.playerType before adding the 
> cache-buster to the url.
> >
> > var loader:MovieClipLoader;
> > var viewLoader:MovieClip;
> > var url:String = "images/catalogue/collection/cat1.jpg";
> > if (System.capabilities.playerType == "PlugIn"
> > || System.capabilities.playerType == "ActiveX"){
> >       url+="?nocache="+new Date().getTime(); } 
> loader.loadClip (url, 
> > viewLoader);
> >
> >
> > This, of course, won't prevent the other problem you 
> mentioned, large 
> > files downloading multiple times, but it can be quite handy for 
> > often-updated content.
> 
> Ah, thanks! That looks like something that could be an option 
> for my loading package.
> --
> Mike Keesey
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
> 

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to