homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

swf not showing, cache problems in IE?
swf file doesn't always appear when using IE7 wondering if its due to cache

10+ Year Member

Msg#: 3671314 posted 3:42 pm on Jun 10, 2008 (gmt 0)

If I clear IE's cache and go to the home page the embedded swf file appears and plays.

If I then browse around the site and return to the first page it is fine again.

BUT, if I go off surf elsewhere, maybe close down browser and come back to it at a later time it thinks everything is OK but doesn't play. Right click on placeholder shows flash options (zoom etc) but swf is blank.

shift-F5 doesn't help.

clearing cache, then re-fresh works. but for the love of god why! I've been pulling me hair out on this.

I tried tagging the swf call with random numbers to simulate a different call each page load. didn't work.

I've stopped the site from caching now, not sure if works yet, maybe, but surely you don't have to do this with all sites that run swf files.

FYI: static embed the swf file in the site using code example from google and swfobject (used the generator as well in case I manually screwed up). the page is php and the swf requires version 9 on the player. Also this is on a remote testing server. the proper site also uses the same swf file.

Final note: Interestingly if it stops working on the testing server site it also stops on the proper site - yet they are on different servers!

Can anyone shed any light on this, please?



10+ Year Member

Msg#: 3671314 posted 12:01 pm on Jun 11, 2008 (gmt 0)

I think it may be solved, fingers crossed.

I probably had a dodgy swf file on the testing server and IE was getting confused by requesting the same file from different domains and using the corrupt one on both. Would it do that?

Anyway, working at the moment (awaits flood of moaning emails from client about site menu not working....)

Oh, BTW I couldn't stop IE from caching the swf.


5+ Year Member

Msg#: 3671314 posted 7:22 am on Jun 12, 2008 (gmt 0)

I tend to delete History / temp Internet files whenever testing SWFs on pages, seems to be the only way to make sure IE displays the most recently uploaded version.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved