Ciao, ecco un ennesimo thread sugli swf che rimangono in cache...

Ho già cercato sui vecchi post ma non trovo la risposta al seguente problema:

so che per evitare la cache dovrebbe bastare inserire i meta tag:

<META HTTP-EQUIV="Expires" CONTENT="Mon, 21 Jan 2000 21:29:02 GMT">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">


Ma che per funzionare ancora meglio sarebbe utile fare pagine dinamiche in php o asp o javascript inserendo valori casuali oppure la data da associare al nome del file swf come ben descritto qui:
http://flash.html.it/faq/leggi/1146/...o-nella-cache/

Il mio problema è integrare quanto riportato per javascript:

<script language="JavaScript">
<!--
document.write('<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"'
+' codebase="[...]omissis[...]"'
+' ID=name WIDTH=640 HEIGHT=486>'
+' <PARAM NAME=movie VALUE="filmato.swf?' + new Date().getTime() + '">'
+' <PARAM NAME=loop VALUE=false> <PARAM NAME=bgcolor value=#FFFFFF>'
+' <PARAM NAME=menu VALUE=false> <PARAM NAME=quality value=high>'
+' <EMBED src="filmato.swf?' + new Date().getTime() + '" loop=false '
+' menu=false quality=high bgcolor=#FFFFFF '
+' WIDTH=640 HEIGHT=486 TYPE="application/x-shockwave-flash"'
+' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">'
+' </EMBED></OBJECT>');
//-->
</script>


dove si agisce sui tag PARAM e su EMBED e integrarlo nella sintassi per richiamare swf che sfruttano il file AC_RunActiveContent.js che evita i problemi con quel mezzo browser che è explorer...ossia questa:


<script language="JavaScript" type="text/javascript">
<!--
if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable version
// embed the flash movie
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,24,0',
'width', '800',
'height', '600',
'src', 'flashpages/nomefilmato',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'top',
'play', 'true',
'loop', 'false',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'nomefilmato',
'bgcolor', '#000000',
'name', 'nomefilmato',
'menu', 'true',
'allowScriptAccess','sameDomain',
'allowFullScreen','true',
'movie', 'flashpages/nomefilmato',
'salign', ''
); //end AC code
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'Alternate HTML content should be placed here.'
+ 'This content requires the Adobe Flash Player.'
+ '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
document.write(alternateContent); // insert non-flash content
}
}
// -->
</script>



Qualcuno ha idea di come integrarli ???? Ossia aggiungere il controllo sulla data del file per averlo sempre aggiornato ???