views:

2384

answers:

7

I have a .swf file that I try to browse to and it loads fine in Firefox, but in IE6 it doesn't load. When right-clicking it says "movie not loaded".

Any suggestions?

+1  A: 

Can you post the html you're using to embed the move in the page?

I have to admit, though, that I find all the nuances of embedding flash to be a headache. I can never remember them all, so I rely on this project to handle all the browser variations for me: http://code.google.com/p/swfobject/. You might find that using swfobject helps make the problem "just go away" :-) Their docs also have some 'non-javascript' fallbacks if you need that.

Jarret Hardie
+1  A: 

Make sure the OBJECT element has a child PARAMETER elememt named movie and an attribute called data that both point to your SWF file.

Dave Anderson
Do you mean,<param name="movie" value="myfile.swf" />
codecraig
Yes and the object needs the data attribute so you have something a bit like; <object data="myfile.swf"> <parameter name="movie" value="myfile.swf"/> </object>
Dave Anderson
A: 

A really really easy way to publish flash to HTML is simply hitting F12 key in Flash. This will publish the SWF on a blank HTML page. This no-brainer technique will work seamlessly on all browsers.

Otherwise, for cleaner implementation, i recommend swfObject (see Jarret Hardie's link above).

sthg
A: 

Dear,

Whenever u publish swf file, that time u need to change flash player to 5.0, means swf publish in older version.

A: 

Lookup swf object

http://code.google.com/p/swfobject/

marcgg
A: 

The actual problem was the application uses SSL with client authentication and there is a strange issue where when loading the application in IE it wasn't filling out a certain header in the HTTP request, so I had to use a custom servlet filter which inserted the header.

codecraig
A: 

I had the same problem. Just copy and paste below code inside your tag(Tested in Firefox,IE6,IE7,IE8):

Saroj Kumar