Groups | Blog | Home
all groups > flash (macromedia) > june 2005 >

flash (macromedia) : HELP!! - FLASH on HTTPS url



RegGFX
6/1/2005 7:17:18 PM
I have situation where i have a flash page behind a secure https:// url
The problem i have is that the
codeBase
="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,
0,0,0"

is pointing to an http:// NON SECURE url therefore causing the user to get the
traditional "Secure Non-secure" items alert box.
The same is true if the following reads
pluginspace ="http://www.macromedia.com/go/getflashplayer"

If i could only change these 2 url references to read
https://www.macromedia.com/go/getflashplayer or
codeBase
="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5
,0,0,0"

I'd like to ask the forum to suggest a work - a - round i could use to ensure
that a user accessing a flash url on https is able to retrieve the latest flash
player.

Any examples would be GREAT
FDSailor
6/9/2005 9:02:02 PM
Have you tried setting up pages in your https website that redirect the
codeBase and Pluginspace to the required macromedia pages pages and referencing
those pages in the codeBase and Pluginspace links in the object tag? This
avoids the security alert when the page containing the swf file loads. For
example,

<META http-equiv="refresh" content="0;
Url=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shock
waveFlash">

Patrick Bay
6/10/2005 1:58:08 PM
Hi,

You need to do three things. First, set up an allowdomain.xml file on
your server to ensure that your file can access the secure data there.
There's an example on Macromedia's site. You should also look up
System.security.allowDomain and System.security.allowInsecureDomain. I
believe these two settings deal specifically with what you're trying to do.

Regards,
Patrick

[quoted text, click to view]


--

For more, visit SWF.Dev - http://swfdev.blogspot.com/


AddThis Social Bookmark Button