I just tried in Core as well. If I set “-define=COMPILE::JS,true” which is what I believe we need to get code recognition and completion, I get lots of errors in FB.
Am I going about this wrong? On Nov 10, 2015, at 9:40 PM, Alex Harui <aha...@adobe.com> wrote: >> I’m not sure you answered my primary question here. How do I target >> HTML/JS native classes like Document, DOMParser, etc. in ActionScript? I >> don’t want to do that in js. I’d rather have FlaconJX cross-compile it >> for me. > > Not sure about what FlashBuilder will let you do, but from Ant, you should > be able to use Document, DOMParser etc inside COMPILE::JS blocks. Try > adding test code to a class in the Core project and compile it. Then > we’ll worry about FlashBuilder. It should work for Core because the > compile-asjs phase will not use playerglobal/airglobal, it will use js.swc > from the Falcon repo which has Document and DOMParser in it.