Hi clement, To avoid the caching of the internal loaded SWFs (XMLs probably too) you have to use the same method as for your main movie. Add the random-string to every loaded swf, xml.
Cheers, Sönke > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of clemos > Sent: Thursday, June 08, 2006 10:14 AM > To: Open Source Flash Mailing List > Subject: Re: [osflash] Eclipse ANT build - clear browser cache > > hi all > > I'm on Windows, and did set cache limit to the lowest value, and > turned on "reload the page on every visit". > still it looks like it doesn't actually "turn the cache off": the > lowest value for cache limit is 1M on IE, and some elements, like html > inside frames, seem to be cached anyway. > about flash content, you can use the method bernard described, add a > random string to the swf url, but as far as I know, the most important > thing you'll have to do to avoid caching of Flash content is to add > random strings to each swf you load inside the main swf, because with > cache "turned off" (ie set to lowest value), the main swf will reload > every time, but probably not the other swfs loaded inside... > in my experience, those thoughts apply to Firefox for Windows also. > > ++++++ > clément > > On 6/8/06, Bernard Poulin <[EMAIL PROTECTED]> wrote: > > > > ...Or, alternatively, build a forget-once-for-all system > that will make > > different urls for different version of your swf. That way, > you (and your > > clients!!) will not need to "flush their cache" when needed. > > > > For example, each time you build your movie with ant, you could also > > generate a small javascript file which would contain a > random string (or the > > current date/time maybe). You then include that file in > your html and append > > a dummy parameter with the value in this javascript to the > .swf url. (of > > course, this example only works if you are using javascript > to generate your > > <Object> or <Embed> tag.) > > > > Also, this example only works if the generated .js document > has a good cache > > setting associated with it. Additionally, it will work only > on the "root" > > swf that your are loading (this will not affect the other > swf that your > > MovieClip might be loading afterwards) > > > > ----------------- > > uniqueswfkey.js : > > > > //this file was generated, do not modify! > > var swfkey = '1235267224'; > > ----------------- > > <script src='uniqueswfkey.js'></script> > > > > '...../myflashanim.swf?swfkey=' + swfkey > > > > my 2 cents > > B. > > > > 2006/6/7, John Giotta <[EMAIL PROTECTED]>: > > > Why not just turn off caching? > > > > > > _______________________________________________ > > > osflash mailing list > > > [email protected] > > > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > > > > > > > _______________________________________________ > > osflash mailing list > > [email protected] > > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > > > > > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org > _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
