Copy link to clipboard
Copied
I am loading a local file(html) inside a webbrowser control(running in IE10 mode) i .NET. The local file contains a flash object which should load a flash which in turn loads a local flv file and fire some events back to javascript through external interface.
However ExternalInterface.ObjectId always null,but ExternalInterface.available is true indicating that there is an external interface, therefore i cannot use the external interface.
Are there any solution so this speciic problem?
Should be noted that it works when loaded directly in IE10, so I suspect it to be that the external interface do not detect and objectId because it does not recognize the WebBrowser Control as a "real" browser - can anyone confirm that suspicion?
Hope for some help 🙂
Copy link to clipboard
Copied
In case it's a matter of case... it is "objectID", not "ObjectId"
Copy link to clipboard
Copied
well not a matter of case - since it works in standalone IE and only breaks in .NET WebBrowser Control - Why the 2 are handled and detected differently by the ExternalInterface is beyond me.
Copy link to clipboard
Copied
1. As Ned said - it is objectID with lower case which does matter. With ObjectId code should not even compile for there is no such property on ExternalInterface (AS3 is case sensitive).
2. Make sure that in embed code you supply name along or instead of id. For whatever reason ExternalInterface does not recognize id.
If you use swfObject - name should be a property of attributes object.
Copy link to clipboard
Copied
Im really greatfull that you guys take the time to answer however it would be nice if u read the whole question - It works in standalone IE(10) without any problems at all - the problem is that Flash ExternalInterface does not seem recognize the .NET WebBrowser Control(running in browser emulation IE10) as a "real" browser and therefore ExternalInterface.objectID(was a misspelling in the question not my code) is always null at the same time as ExternalInterface.available is true.
My question basically is "what is the reason for that and is there anyway to circumvent that"?
If there is no solution to this I will just have to tell the customer we can only support the formats which is supported by the HTML5 Video tag by default and not flv for instance.
To Andrei1: since it is an IE only project(offline project on local files, so not really any reason to support multiple browsers) I use only the object tag and I have tried to set name and id but without any difference in the result
Copy link to clipboard
Copied
Hi,
Please try with the latest Flashplayer that download from http://get.adobe.com/flashplayer/, if the issue still reproduces or there is still other issues, would you pls log a bug to https://bugbase.adobe.com/, thanks.
When adding the bug, please include sample code so we can quickly test this out internally. If you would like to keep this private, feel free to e-mail the attachment to me (jiyuan@adobe.com) directly and I will attach it to the bug for internal use only.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now