ExternalInterface not working in IE!!!
Wednesday, 3. September 2008 13:23
OK, so here’s the situation, you’ve got a swf that is using the ExternalInterface class for communicating with Javascript. You’ve got it running on ASP.net. You’re using SWFObject to embed the flash. It all works hunky dory in Firefox, Safari and in IE it’s OK when you call the function from the flash. However when you try to get the Javascript to call a function on the swf nothing works.
The problem is that ASP.net renders the page in a form, so using something like window["movieName"] to get the movie it isn’t looking in the right place. Change the call for IE to return document.forms[0][movieName]; and Roberts your mothers brother. And you can stop swearing and threatening to kill your Project Manager when they ask time and time again if it’s done yet.
Category:ASP.net, Browsers, Flash, Javascript | Comment (0) | Author: admin