Jump to content
Sign in to follow this  
music_lp90

Force Browser to reload flash

Recommended Posts

Hi, I need to get IE to reload my swf every time the page is accessed. Firefox reloads it fine, but IE only reloads the swf if I open the page in a new window each time.I've tried this:

<meta http-equiv="Pragma" content="no-cache"><meta http-equiv="Cache-control" content="no-cache"><meta http-equiv="Cache-control" content="must-revalidate"><meta http-equiv="Cache-control" content="max-age=0">

and this:

<?php header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past ?>

But it doesn't seem to work.Thanks for any help!

Share this post


Link to post
Share on other sites

That doesn't seem to work, unless I'm not doing it correctly.Here's what I did:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="800" height="1600" id="planCreator_Resize" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="false" /><param name="movie" value="planCreator_Resize.swf?reload=<?php echo time(); ?>" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="bgcolor" value="#006633" />	<embed src="planCreator_Resize.swf?reload=<?php echo time(); ?>" quality="high" scale="noscale" bgcolor="#006633" width="800" height="1600" name="planCreator_Resize" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>

Thanks for your help.

Share this post


Link to post
Share on other sites

Maybe it's not the flash that needs to reload then. Maybe it needs to reload the xml document that flash is getting the saved data from. Would IE be caching the xml file?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×