Flash + xml 缓存有关问题

Flash + xml 缓存问题
大家好,

一个Flash图片播放的小程序,图片来源及相关属性在XML文件中.通过XML传给Flash.在呈现出来.

现在在浏览的时候再IE ,Firefox 下遇到缓存问题,Flash不会每一次去服务器上获取XML.

测试过的方法 : 

swfobject.embedSWF('Slideshow.swf'+'?timestamp='+new Date(), 'flash-pnl-slideshow" & ModuleInstanceID & "', '" & data(0).GalleryWidth & "', '" & lngGalleryHeight & "', '7.0.0','" & strFullPath & "/globalassets/flash/expressInstall.swf',flashvars, params, attributes);

要求不使用下面方法

1、在Asp页面首部加入Response.Buffer = True Response.ExpiresAbsolute = Now() - 1 Response.Expires = 0 Response.CacheControl = "no-cache" Response.AddHeader "Pragma", "No-Cache"

2、在HtML代码中加入<HEAD><META 
HTTP-EQUIV="Pragma" CONTENT="no-cache"><META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"><META HTTP-EQUIV="Expires" CONTENT="0"></HEAD>


------解决方案--------------------
Math.random()
参数
date都可实现
------解决方案--------------------
在你的网页后面加一个参数就可以了。。。例如html?date=new Date().getTime()这样每次都是最新的了。
------解决方案--------------------
给加上 时间戳  欺骗浏览器  刷新
------解决方案--------------------
有个清除缓存的代码,我不记得了,自己搜索吧,以前遇到过,清除xml缓存,让其失效。