Just to clarify, you should do something like:
flashvars = {}
flashvars.playlist = "playlist.xml?t=" + new Date().getTime();
This will give you a millisecond accurate unique number on every
refresh.
Also, please search the lists before asking questions. The same question was
asked and answered a few days ago...
Aran
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Rusty
Sent: Wednesday, 8 October 2008 3:03 AM
To: SWFObject
Subject: Re: Prevent browser caching?
In your flash file add a time stamp to your xml querystring. Although
the browser will cache your flash file, adding a timestamp will 'fool'
the browser into thinking each time the xml file is loaded it is a new
xml file.
On Oct 7, 11:52 am, banderberg <[EMAIL PROTECTED]> wrote:
> My flash object relies on XML files that change from time to time.
> The problem is that browsers cache the flash object (or maybe just the
> xml data?).
>
> The result being that a user re-visiting the site won't see the
> changes unless they clear their browser cache.
>
> How can I use SWFObject to prevent browsers from caching my flash
> object/data so that users always see the fresh data?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---