Forum Moderators: open

Message Too Old, No Replies

Problem running Flash in IE

Flash runs in Firefox, but not IE

         

jasperd

4:22 pm on Aug 23, 2006 (gmt 0)

10+ Year Member



I have just posted my company's website and I'm having a problem with the Flash (.swf files) in IE. (Everything works fine locally and in Firefox.)

When the website opens in IE the Flash files appear to be loading (pictures appear temporarily on the screen and then go blank). If I click the "back" button and then the "forward" button to return to my website, everything works fine but only after clicking "back" and "forward". This process, of course, is unacceptable to any potential clients who might be viewing the website.

Any help would be appreciated.

Thank you

oxbaker

6:37 pm on Aug 23, 2006 (gmt 0)

10+ Year Member



are you running IE on a MAC or PC?
Have you examined your Object and Embed tags and made sure both are properly formatted? Is this just flash or FLEX or some other hybrid program?

Do you have a preloader that may be messing it up, or additional javascript or css on the page that may cause it to render improperly?

I would open Flash, press the publish button and make a plain vanilla html page for your .swf. Throw THAT online (in a temp foler of course) and see if IE shows that properly. If not, then you probably have a problem with your movie itself. Like its too big or not preloading properly. Post a example link so we can test it in IE as well

hth,
mcm

jasperd

2:41 pm on Aug 24, 2006 (gmt 0)

10+ Year Member



I'm running IE on a PC.

I'm not sure if I have a preloader---all major code was written by Dreamweaver. There is additional javascript to disable right click, but I tried removing it to no avail.

Actually there are two Flash movies on the page appearing side-by-side. I tried your suggestion of publishing them directly from Flash and both worked properly in IE. I don't think size is an issue---one swf file is about 2.8MB and the other is only 710KB. Here's the link to the website:

[brandenvironmental.com...]

jasperd

3:19 pm on Aug 24, 2006 (gmt 0)

10+ Year Member



By the way, thank you very much for your help and and your time.

oxbaker

5:29 pm on Aug 24, 2006 (gmt 0)

10+ Year Member



i see how its screwing up on IE. I dont know exactly but i'd suggest the following :

1. Remove your body onload check flash function, 99.9% of people have fp 7 or later now so you can remove this without penalty.

2. Make sure there are no css styles applied to the swf objects.

3. you also have some </div> closing tags without opening tags, make sure all html on your page is valid and parsed properly.

4. If it runs fine in a plain vanilla html but not your home page the problem is most likely one of the issues listed above. If none of those ideas help, post back with your findings.

hth,
mcm

jasperd

12:25 am on Aug 25, 2006 (gmt 0)

10+ Year Member



I removed the body onload check flash function and, unless I'm missing something, there are no css styles applied to the swf files.

Also, I checked the closing </div> tags. There seems to be an opening <div> tag for each one.

I also tried replacing the Flash code with the code from the vanilla (Flash produced) html files.

Still no luck.

What baffles me most is that everything works fine after clicking IE's "back" and "forward" buttons. It's almost as if IE can't load the swf files the first time, but the second time it can. But that doesn't make sense, does it?!

Thanks again for your time.

jasperd

2:23 pm on Aug 28, 2006 (gmt 0)

10+ Year Member



I found a workaround. I added the folowing behavior:

onactivate="MM_controlShockwave('movie name','','Play')"

to each flash object code.

The page still loads slowly, but at least the flash runs without user intervention.

Thanks again