...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)
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';
uniqueswfkey.js :
//this file was generated, do not modify!
var swfkey = '1235267224';
-----------------
<script src=''></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
