BLOG

Multiple ExternalInterface function with the same name in IE8 / IE7

First I’d like to say that I left out IE6 because it’s a stupid browser and does not matter to me.

Recently I have been working on a html5 audio player. Obviously I need to provide a fallback for IE8 browser. But I did not want to redesign the whole player again in flash so the plan was to create a swf container that just plays music and gets commands from the current UI.

All went awesome, the swf totaled a whooping 1.77 kb and was receiving commands fine via ExternalInterface. Tested even in IE8 and worked fine from the first time. But then I decided to place multiple players on the page. Then all broke loose. Only one player worked. So I thought, and thank God I thought well, ExternalInterface does not allow multiple callbacks with the same name. So I passed the id that should be unique of the audio player container via FlashVars to the swf and within the Swf I created functions with ExternalInterface that had the ID appended to their namespaces.

Took a little time, but the story had a happy ending.

  • zellina
    March 2, 2015 at 10:42 pm

    Foals can get it from their mothers or their mothers’ milk. While other horses may get it from sharing needles used for other treatment or maintenance medications.
    http://www.truckdriverwireless.com

  • natickhouse
    March 26, 2015 at 7:22 pm

    I have been waiting for someone to share this post. This has actually made me think and I hope to read more. Thanks a lot for sharing with us.

  • Business Break
    June 1, 2015 at 10:21 pm

    You may post on the professional credentials for the blog owner. You could express it’s outstanding. Your blog experience can springboard your click through.

  • Forte School
    June 5, 2015 at 9:48 am

    Forte schools offer a FREE trial lessons for classes and some offer a Free Trial private lesson.

  • www.socialanimaltrust.com
    June 6, 2015 at 9:11 am

    This post contain a lot of information about recent wheel of events.i hope this article will be helpful for the reader’s.thank you very much for sharing with us.

Leave a comment

Your email address will not be published

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

− 1 = 1