On 5/3/16, 10:58 PM, "Christofer Dutz" <[email protected]> wrote:
> >Hi Alex, > >I am actually having problems on all levels. When compiling the >JavaScript from the ActionScript I have a problem with CSSTextField as >this is missing the TextField declaration. If I comment out the >COMPILE::JS it works ... this is the same problem I am having for >compiling the extern for Core. > >The Problem I am having with compiling the ActionScript code to SWC is in >ApplicationBase in code that's marked COMPILE::AS3 so I guess in general >I am piping the right code into the different parts of the compiler. Let's try this: In the Ant builds, the steps are (and this is different than the actual placement of targets in the build.xml): 1) compjsc + js.swc (no playerglobal or airglobal) + COMPILE::AS3,false + COMPILE::JS,true + compile-js-config.xml -> pile of JS files 2) compc + js.swc (no playerglobal or airglobal) + COMPILE::AS3,false + COMPILE::JS,true + compile-js-config.xml -> externs SWC 3) compc + (playerglobal or airglobal) + COMPILE::AS3,true + COMPILE::JS,false + compile-as-config.xml -> "final SWC" It seems like you are still compiling every file in the folder instead of the ones specified by the -manifest.xml and XXXClasses.as file, and I'd guess that you are using JS.SWC with COMPILE::AS3,true HTH, -Alex
