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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...