We're building an Ajax AIR app but want to include a Flex component in it to display photos. Currently using Doug McCune's 'coverflow' but also looking at Sebastiaan Holtrop's 'sebCoverflow'.
We're trying to communicate between JS and the Flex component but can only do this one-way (AS->JS) using ExternalInterface.call().
ExternalInterface.addCallback (to communicate JS->AS) doesn't seem to work in AIR. Does this sound right? What are people doing to get around this?
According to the AIR documentation (http://livedocs.adobe.com/flex/3/langref/flash/external/ExternalInterface.html#includeExamplesSummary): "Note: In Adobe AIR, the ExternalInterface class can be used to communicate between JavaScript in an HTML page loaded in the HTMLLoader control and ActionScript in SWF content embedded in that HTML page."