Good question.

BTW, I've renamed the packages for RC2.  The difference between the -bin
and jsonly-bin packages (which will be names -bin-js-swf and -bin-js in
RC2) is more than whether the SWF-producing SWCs are in frameworks/libs or
not.  The default targets in royale-config.xml is different.  In jsonly
(bin-js) the only target is JSRoyale, in the -bin (bin-js-swf) package,
the targets are both SWF and JSRoyale.  There are a few other differences
as well.  The compiler uses the list of targets to determine how many
compiler passes it has to do and with what SWCs.

The problem with DataBindingExample_Flat is that it is declaring a SWC as
a theme.  It isn't saying it needs Flat.swc for code.  That's already done
in royale-config.xml where there are separate lists (actually just a
wildcard) of SWCs for SWF output vs JS output.

We haven't defined compiler options for separate theme SWCs per output
type.  Maybe we will need to do so later.  But for this example, the goal
is simply to have the defaults.css in the SWC override other defaults.css
files in the default SWCs.  And since FlatJS.swc has the same defaults.css
as Flat.swc and FlatJS is in both bin packages, the solution was just to
switch to that SWC at least for now.

HTH,
-Alex

On 1/15/18, 12:13 AM, "Olaf Krueger" <[email protected]> wrote:

>Hi Alex,
>
>>I pushed a change to the release/0.9.0 branch that appears to fix it.
>
>Thanks! I will check it out tonight and will fix other examples this way
>if
>needed.
>
>But honestly, I don't understand how it works:
>Does it mean that those examples which depends on a *JS.swc (like
>FlatJS.swc) lib file, cannot compiled to Flash/AIR?
>Or are there additional configs for Flash/AIR?
>
>And one additional, probably stupid question regarding the approval
>script:
>Does it compile to JSonly if no environment vars are set and no
>dependencies
>like playerglobal are available? And if all Flash/AIR dependcies are set,
>does it compile to Flash and JS?
>
>Thanks!
>
>Olaf
>
>
>
>
>
>
>
>
>
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-roy
>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7
>C669e8d2fd5d74793205008d55befe1f7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7
>C0%7C636516008217890968&sdata=dbg6BFCOis6Fv%2Fds4EV3CLNSB2sYld4obwj8iUJj6K
>g%3D&reserved=0

Reply via email to