Forum Moderators: open

Message Too Old, No Replies

Cannot find working solutions it IE click to activate

         

Greven

4:46 am on Jun 19, 2007 (gmt 0)

10+ Year Member



I am embedding flash objects by creating the embed element through DOM function in a function called when the body loads. I have tried setting the containing div's inner and outer html directly, appendChild, creating the element and div.innerHTML = embed.outerHTML, and nothing works. I tried calling the script that settings div.outerHTML = div.outerHTML after the embed is in the pages dom, and have also tried eval for the swfobject method. Nothing works, it always asks for "click to activate".

The most infuriating part is that I did not have this problem until I cleaned this app's code :(. The old method was to add the function call to a string and eval the string later. I tried the same thing, and it's not working now.

Any suggestions?

Greven

7:05 am on Jun 19, 2007 (gmt 0)

10+ Year Member



**FACEPALM** God I hate IE.

Since IE doesn't have a proper JS debuging system, I moved all the code into the HTML file so I could get accurately line numbers. When I move the code back into the seperate .js file, it worked fine.