Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:15
insert_active_flash.js
Poster: wkilc
Dated: Thursday October 2 2008 - 7:22:49 BST
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
Re: insert_active_flash.js
Poster: Andy
Dated: Friday October 3 2008 - 13:12:43 BST
Problem solved.
It was looking for files from macromedia.com using http instead of whatever the current protocol was.
Tested at https://www.milonic.com/over.php and can be downloaded from https://www.milonic.com/insert_active_flash.js
HTH,
Andy
Re: insert_active_flash.js
Poster: wkilc
Dated: Friday October 3 2008 - 23:23:20 BST

Thanks Andy! You da' man.
~Wayne