Hi, I have a AIR application with a HTML control. I want to call a JavaScript function in the embedded HTML page from the AIR app automatically after initialization. I thought the best place for this would be the handler for the HTML_DOM_INITIALIZE event, but I'm getting the following error message: TypeError: Error #1006: calledFromAS is not a function.
Is this a bug or did I misunderstood the meaning of the HTML_DOM_INITIALIZE event? To test it just use the following example: http://blog.everythingflex.com/2008/02/25/air-actionscript-javascript-bridge/ and add "html.htmlLoader.window.calledFromAS();" to the "domInitialized" function. Bye, -- Haykel Ben Jemia Allmas Web & RIA Development http://www.allmas-tn.com

