merl0t / flash-videoio

Automatically exported from code.google.com/p/flash-videoio
0 stars 0 forks source link

ActionScript to Javascript ExternalInterface breaks in IE9 and Firefox 12.0 #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
First reported by sc28 scohen@softwaresecure.com on Jun 20, 2012

---

I'm going through the tutorial - one issue I'm seeing on the test.html
page:

1) If I load the page (locally - streaming to my Red5 server) - all
the parameters and Javascript onPropertyChange etc. work fine in
Chrome.

2) If i load the test.html into Internet Explorer 9, none of the
Javascript functions appear to work, though opening up the developer
tools and checking for the existence of the Javascript function in the
console succeeds - that is, I can type: Log('hello') in the console
and that will appear in the log window - but nothing automatically
appears (as in Chrome) - almost like the javascript functions aren't
wired up to the Flash component.

3) Tried in FireFox 12.0 - same as IE9  --> I figured if IE9 had
issues, well, IE is known for problems, but I figured FireFox would
work fine like Chrome.

4) Created a simple Visual Studio project - dropped a WebBrowser
control on a form and pointed it to the test.html file - everything
works fine, just like Chrome.  The WebBrowser control essentially
emulates IE7.

So my question is:  what's going on with the modern FireFox and IE
browsers that make the javascript functions fail in the test.html -
where should I be looking to see why things aren't wired up properly?

Thanks!

---
Found relevant information at
http://stackoverflow.com/questions/9254600/what-would-prevent-actionscript-flash
-from-calling-a-js-object-in-ie9
and 
http://msdn.microsoft.com/en-us/library/gg622942%28v=VS.85%29.aspx

Is this relevant? http://support.mozilla.org/en-US/questions/927887

Original issue reported on code.google.com by theinten...@gmail.com on 29 Jun 2012 at 8:56