Reputation: 307
this been driving me mad all day.
I export a swf/html direct from flash, very simple. I upload it and it works fine in all browsers. If I change http to https in all browsers, no problems.
All browsers except IE - when I change http to https, I just get nothing - if I right click I get "Movie not loaded..." (greyed out) and the usual about flash player.
I've reinstalled my flash player, read loads of tips and tried loads of other hacks but nothing seems to work.
I am using IE 9 (for testing only)
Can anyone see anything wrong with this code?
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="562" height="300" id="banner" align="middle">
<param name="movie" value="banner.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="banner.swf" width="562" height="300">
<param name="movie" value="banner.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
Thanks for your help.
Upvotes: 1
Views: 4524
Reputation: 551
I was fighting with this problem for a while. I found an answer on Adobe site (it works for me) http://helpx.adobe.com/flash-player/kb/flash-player-issues-secure-sockets.html#main_Data_Lloading_fails_when_using_a_no_cache_header_Pragma.
Hope it helps!
Upvotes: 0
Reputation: 389
This is related to HTTP headers that are sent by a web server in response to a request from a browser.
In IE specifically, any HTTP responses sent from a secure to an insecure context are ignored. It fails silently.
To get around this and allow HTTP responses to be received over SSL from a server, it is necessary to change the configuration at the web server level or set the headers at a code level to ensure that the proper headers are being sent with HTTP responses.
That HTTP header is as follows: Cache-Control: no-store
I hope this answer helps to sort out your problem. Source of my information: Here
Upvotes: 1