flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <christofer.d...@c-ware.de>
Subject AW: AW: [FLEXJS] Problem compiling Core extern
Date Tue, 03 May 2016 18:58:18 GMT

So If I comment out the JavaScript declaration of CSSTextFiled and that one line in ApplicationBase
I am actually able to build Core (swc containing JavaScript + extern-swc)

Von: Alex Harui <aharui@adobe.com>
Gesendet: Dienstag, 3. Mai 2016 00:08:55
An: dev@flex.apache.org
Betreff: Re: AW: [FLEXJS] Problem compiling Core extern

On 5/2/16, 12:29 PM, "Christofer Dutz" <christofer.dutz@c-ware.de> wrote:

>Hi Alex,
>I just had a look at the project, but I don't quite understand the
>reasoning behind the "CoreClasses" class. In SWF files I know only the
>classes transitively referenced by the main class are included, but for
>SWCs I always thought all classes were compiled as you never know which
>classes are needed.

That's mostly true, but there are exceptions.  In some cases a file may be
included in other files and thus not actually a class, in FlexJS, some
classes are only needed on one platform or the other.

>But even if it would work that way, why does the CSSTextFied have AS and
>JS blocks, if the class is only included in AS ... I have to admit,
>that's a little confusing :-(

Not sure why it has a JS block.  We've played with different ways of
dealing with platform-specific code.


View raw message