Hello,
I have been using Milonic's insert_active_flash JS to insert my flash objects on pages that use the menu:
[code]<script>
myFlashObject=new Object
myFlashObject.movie="flashfile.swf"
myFlashObject.quality="high"
myFlashObject.wmode="transparent"
myFlashObject.width=850
myFlashObject.height=550
myFlashObject.version="5,0,0,0"
commitFlashObject(myFlashObject, "myFlashDiv")
</script>[/code]
The problem I am having is on a secure SSL (https://) page. Internet Explorer says it is a "nonsecure" item, even though I defined it with a full, absolute URL:
[code]<script>
myFlashObject=new Object
myFlashObject.movie="https://www.mysite/flashfile.swf"
myFlashObject.quality="high"
myFlashObject.wmode="transparent"
myFlashObject.width=850
myFlashObject.height=550
myFlashObject.version="5,0,0,0"
commitFlashObject(myFlashObject, "myFlashDiv")
</script>[/code]
Is there something I need to modify in the JS itself to make this work? Any ideas?
Thanks.
~Wayne
insert_active_flash.js
Re: insert_active_flash.js
Problem solved.
It was looking for files from macromedia.com using http instead of whatever the current protocol was.
Tested at https://milonic.com/over.php and can be downloaded from https://milonic.com/insert_active_flash.js
HTH,
Andy
It was looking for files from macromedia.com using http instead of whatever the current protocol was.
Tested at https://milonic.com/over.php and can be downloaded from https://milonic.com/insert_active_flash.js
HTH,
Andy
Re: insert_active_flash.js

Thanks Andy! You da' man.
~Wayne