As support for Adobe Flex is ending in 2020, we are migrating Adobe Flex web application into Adobe AIR standalone application
as steps below
Creating certificate
./adt -certificate -cn SelfSigned 1024-RSA sampleCert.p12 samplePassword
Creating AIR application
./adt -package -keystore ./sampleCert.p12 -storetype pkcs12 -target bundle AIRApp.app App-descriptor.xml App.swf
In many places we make call to ExternalInterface like below
ExternalInterface.call("window.location.search.toString");
and exception is thrown
at Error$/throwError()
at flash.external::ExternalInterface$/call()```
Is there a way to enable ExternalInterface in Adobe AIR?