This content has been marked as final. Show 4 replies
I've been using swfobject.js to dynamically insert flash and get no problems using IE7. I haven't tried it with the adobe activeconent.js version.
Make sure that whatever method you use, the resulting object tag in IE gets a unique id attribute otherwise ExternalInterface won't return a value (although ExternalInterface.available will report true).
Thanks GWD. I tried SwfObject, but the problem is till there.
SwfObject is very good! addVariable works perfect to transfer vars to Flash. But if I use ExternalInterface, there is no response in IE (version 6). Would you please have a look at my code:
Source Code: http://www.adamstudio.cn/blog/download/useSwfObject.rar
I already downloaded your rar to check it.
Try changing this:
var so = new SWFObject("asCallJs.swf", "My Demo", "500", "400", "9", "#FF6600");
var so = new SWFObject("asCallJs.swf", "MyDemo", "500", "400", "9", "#FF6600");
And for good measure, change this:
I did both and it worked for me.
GWD, you are so nice!
ExternalInterface.call() works perfectly with SwfObject