all groups > flash actionscript > december 2005 >
You're in the

flash actionscript

group:

Flash refresh problem in IE


Flash refresh problem in IE Ben Keen
12/25/2005 1:38:05 AM
flash actionscript: Hi all,

I spent some time googling this problem and came across similar situations,
but no solutions were voiced.

I've written a simple flash image scroller script which works just fine in
mozilla. But when I load it in IE, it works the first time, but on page reload,
the left and right navigation disappears. Also, the background colour sometimes
disappears. See here:
http://www.benjaminkeen.com/software/image_scroller/index.php?page=demo

Any idea what's causing this? I've included the raw .fla file in the same
folder (scroller.fla).

Shouldn't browsers render flash exactly the same way? Is this some sort of
common problem that often occurs in IE, or something dumb I did in the code?

Thanks!
Re: Flash refresh problem in IE Ben Keen
12/25/2005 1:58:41 AM
Hmm. Actually, after searching your forums, exactly the same problem is listed
here (but again unanswered):

http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=194&thre
adid=908359&highlight_key=y&keyword1=IE%20refresh

If I tell IE to download a new version every time, it works fine. But
obviously this is not a wholesale solution. Any suggestions anyone?

Re: Flash refresh problem in IE Ben Keen
12/25/2005 3:09:44 AM
Ah! A solution, but not an explanation. 'twill have to do for now...
http://flashmx2004.com/forums/lofiversion/index.php/t5940.html
Re: Flash refresh problem in IE Rothrock
12/25/2005 4:29:02 PM
Couldn't see that final link you posted, but this has been a known problem with
the IE cache.

What kind of loading/preloading are you doing? I think the solution we found
once ? using loadmovie and an associated old-school type preloader ? was to add
a test for the _width of the clip was greater than zero before we tried to do
anything with the clip. But then again maybe not.

If you are using the MovieClipLoader class are you using the onLoadComplete or
onLoadInit event?

PS: Very nice, but I'm getting a weird thing. If I go to the right twice I get
two empty grey squares at the end. Then if I go back to the start a couple of
times I get four grey squares at the start. If I go back to the right I get the
four grey squares there. And it continues to grow. Additionally some of the
images seem to have a grey overlay. Strange.
AddThis Social Bookmark Button