Closed makanmel closed 1 year ago
To me it looks like Flex's WindowedApplication
has a reference to HTML
in function menuItemSelectHandler
.
const html:HTML = new HTML();
[Line 2664]
Same class also:
private function viewSourceResizeHandler(html:HTML):Function
[Line 3510]
Thanks for this ... so it turns out, the Flex compiler is always adding a set of implicit "import" statements to the start of every file it compiles, and because we'd removed some of the html capabilities, this part is failing.
The new HTML
should be ok as this is mx.controls.HTML
which imports the below three classes:
import flash.html.HTMLLoader;
import flash.html.HTMLHistoryItem;
import flash.html.HTMLHost;
and these still exist, albeit with restricted functionality...
Will just recreate an airglobal.swc with the class from the 'flash.html.script' package and check that this solves it..
Can you try replacing the airglobal.swc, in frameworks/libs/air/
, with the one in the below zip please?
thanks
airglobal.zip
Can you try replacing the airglobal.swc, in
frameworks/libs/air/
, with the one in the below zip please? thanks airglobal.zip
The new airglobal.swc helped and now the project compiles without errors. Thank you.
I have updated to the newest AIR SDK 758 overlaying it on top of the Flex SDK:
And the project started to fail during ANT build with the next error for every mxml file in the project:
Also reproducible with the sample mobile project in the Intellij IDEA:
File - New - Project - Flash Target Platform: Mobile Output type: Application