Using ExternalInterface to call Javascript from Actionscript - ‘null’ is null or not an object in IE

If you are using ExternalInterface in Actionscript 3 to call through to a javascript function, the original object tag that instantiated the flash runtime needs to have an explicit id attribute. Otherwise you’ll get the above error when running the movie in Internet Explorer.

Posted at 11:00 am on 26/02/09

Tags: ,

11 Comments

  1. 1 pibloktoq says...

    Thanks so much for that tip! You’ve just lowered my blood pressure significantly and added years to my life :)

    (Posted at 12:53 am on March 20th, 2009)

  2. 2 vitali says...

    aaaaaaaaaa, so easy… Thanks!

    (Posted at 9:16 am on May 16th, 2009)

  3. 3 chidorio says...

    Can I buy you a beer? THANK YOU.

    (Posted at 1:04 am on May 20th, 2009)

  4. 4 Andrew says...

    What everybody else says plus five.
    You’re a life-saver.

    (Posted at 9:42 pm on June 12th, 2009)

  5. 5 Guilherme says...

    Thanks very much for that little day-saving tip!

    (Posted at 8:40 pm on November 26th, 2009)

  6. 6 Austin says...

    You, my friend, are a gem.

    May the gods elevate you to the highest peak of Mount Olympus where you will soar with the eagles.

    (Posted at 10:42 pm on December 10th, 2009)

  7. 7 Darren says...

    Thank you. Thank you. Thank you.

    (Posted at 2:17 pm on January 14th, 2010)

  8. 8 Chris Scharf says...

    I don’t know how to found this, but THANK YOU :)

    (Posted at 1:10 am on March 9th, 2010)

  9. 9 Chris Scharf says...

    Whoops, that should be: I don’t know how you found this, but THANK YOU :)

    (Posted at 1:12 am on March 9th, 2010)

  10. 10 John says...

    You’re my hero!

    (Posted at 11:16 pm on June 5th, 2010)

  11. 11 Jakub "LB" Ferenc says...

    I thank you too! It looks this article still helps people to fight with IE:oD Díky!

    (Posted at 2:21 pm on July 8th, 2010)

Leave a Comment