I know how to call flex from javascript but in air it is a different
scenario...

I just found the following hint on a blog:

in Air:
myHtmlcontrol.useApplicationDomain = ApplicationDomain.currentDomain;

In javascript (embeded in myHtmlControl):
runtime.mx.core.Application.application.myASFunction();

Actually the useApplicationDomain property does not exists for the
mx:HTML object and doing alert(runtime) in javascript throws an error...

Help!!!

Reply via email to