External Interface support for AIR(HTML) to flash

Normal Externalinterface methods do not work if i wrap my swf(html) in AIR package.

Javascript to flash vice versa.

Anyone have a workaround to make it work?

I appreciate it.

Thanks!.