External Interface Calls To Flash Not Working In Ie9
We have a flash game embedded in a web page (using SWFObject v2.2) and there are some links on the page that call into the flash in the following manner: window.document['flashObje
Solution 1:
This is probably the reason for your problem and solution is also provided here:
http://msdn.microsoft.com/en-us/library/gg622942%28v=VS.85%29.aspx
Solution 2:
I had same problem, but i did not use SWFObject or AC_RunActiveContent.js.
My solution was: swf published with HTML and AC_RunActiveContent.js. Then i replaced my current code with exported from flash and it started working.
Solution 3:
What do you think about this?
functiongetFlashObject(movieName) {
if (navigator.appName.indexOf("Microsoft") != -1) {
//alert("IE");if (typeof (window[movieName].flashMethod) == 'function') {
// < IE9
movie = window[movieName];
}
elseif (typeof (document[movieName].flashMethod) == 'function') {
// >= IE9
movie = document[movieName];
}
}
else {
// NON IE
movie = document[movieName];
}
return ((movie) ? true : false);
}
$(document).ready(function () {
if(getFlashObject("flashObjectId")) {
movie.flashMethod();
} else {
alert("Failed to initialize");
}
}
Post a Comment for "External Interface Calls To Flash Not Working In Ie9"