Jun 24, 2007

No Dice with Yahoo Maps and AIR

Spending the last couple weeks refactoring Cayri’s code to be more modular, I was excited to start working on the AIR version of Cayri this morning. So I started up Flex Builder, drug my custom Yahoo Maps control onto the canvas, compiled the project, and got this sweet error:

Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime.

This is just a heads up to those who are using an ExternalInterface work around for AS2 to AS3 communication, and are planning on moving your projects to AIR.

Ugh.

3 Comments

  • I’ve got the same problem porting my software to AIR, did you come up with a fun workaround or do we have to permanently break up with ExternalInterface?

  • I would try using the LocalConnection class for AS2 to AS3 communication. There’s a simple example on this forum here: http://www.kirupa.com/forum/showthread.php?p=1964550

  • The blog page is admittedly great. I love reading it in spite of this, the text looks kind of odd while using the safari online broswer

Leave a comment

About Dan

  • I'm the Lead Software Architect at Mixbook. A rapidly growing online photobooking and scrapbooking company.
  • I built Cayri, an online monitor for flight simulator networks.
  • I enjoy learning guitar, astronomy, beer, music, programming, and driving with no apparent destination.
  • I live in San Jose, CA.

Categories

Twitter

  • Could not connect to Twitter