Flex, Javascript, IE
Posted: 2010-06-28 15:13:53

Earlier I was working on a project that required use of the ExternalInterface class in Flex that allows for Javascript communication. I have used it a few times before, but for some reason, I just couldn’t get it to work in IE...

It was working fine in Opera and Firefox, but IE kept passing a null value. I had an ID value and name for the object and embed tags respectively, the codebase was correct, still nothing. I even had the object and embed tag hardcoded on the page.

Finally, I ran across a post that mentioned another problem with IE and Flex/Javascript (IIRC, it was about Object does not support this method or property) that suggested using swfobject2. That fixed my issue null issue as well giving me the ability to send and receive values between Flex and Javascript.

Back to the main page