-
flash embed javascript with HTTPS
hey!
Ive been using the adobe standard javascript functions to generate the html embed mark up with version test, however i now have a flash movie that needs to run over ssl. It seems the adobe code interacts with a http server when it runs, subsiquently the browser is displaying a secure and non secure items message when the page runs. does anyone have a work around or an alternative js??
thnks
-
ive fixed this!
Resolution: remove codebase and pluginspage attribute.
-
Using Flash swf + Flash / JavaScript Integration Kit over HTTPS - IE issue fix
My product works over HTTPS and I had to serve a flash application, but there was one weird behavior in IE, the security Dialog box stated an Error
“This page contains both secure and non
secure items. Do you want to display the nonsecure items?” YES, NO
I was using Flash / JavaScript Integration Kit to embed my flash application as my application needed to communicate with Javascript variables.
I tried google to find some answers but was in vain. Finally started to look in to Flash / JavaScript Integration Kit js files to find the culprit. There was a hard coded URL in the js file “FlashTag.js”
flashTag += ‘codebase=”http://download.macromedia.com/pub/s...version+’” ‘;
flashTag += ‘pluginspage=”http://www.macromedia.com/go/getflashplayer”>’;
All I had to do was replace http with https the problem got resolved
flashTag += ‘codebase=”https://download.macromedia.com/pub/...version+’” ‘;
flashTag += ‘pluginspage=”https://www.macromedia.com/go/getflashplayer”>’;
this should be a useful to some one who got stuck up with the IE security error dialog box.
Happy flashing…
-
HKP, I honestly don't know what to do. After I saw your message, I thought "That's it!" and I went and made the HTTPS change to both 'pluginspage' and 'codebase' lines and yet I am STILL getting the error.
Does anyone know what else could possibly be causing this?
-
Heh, right after I posted this, I found the problem. When publishing the new CS3 content, it also has all the code up top for 'AC_FL_RunContent'. I changed the HTTP references up there to HTTPS as well and no more problem!
So, to avoid this error, one has to make this change in 4 different places in the embed code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|