On 4/18/16, 11:23 AM, "Harbs" wrote:
>Good question. I’m not really sure.
It is technically legal to do that in JS, and when libraries do that, that
makes it harder to emulate in AS because they are not really doing
object-oriented support with sealed classes. To allow it would require
more c
Good question. I’m not really sure.
On Apr 18, 2016, at 9:21 PM, Alex Harui wrote:
>
>
> On 4/18/16, 11:16 AM, "Harbs" wrote:
>
>> Well, all HTML APIs are supported, so RGBColor, for example should work.
>
> So Adobe is effectively overriding RGBColor and expecting CEF to ignore
> extra fie
On 4/18/16, 11:16 AM, "Harbs" wrote:
>Well, all HTML APIs are supported, so RGBColor, for example should work.
So Adobe is effectively overriding RGBColor and expecting CEF to ignore
extra fields on it?
-Alex
Well, all HTML APIs are supported, so RGBColor, for example should work.
On Apr 18, 2016, at 6:24 PM, Alex Harui wrote:
> The key question for you is whether you need js.swc in the project that
> uses your new CSInterface.swc. There might need to be a CEF.swc subset
> from js.swc that represent
I’m not sure how to work this out with Alex’s response that the first one wins.
If I’m reading this correctly, I think I have a problem. The javascript does
not have qualified class names. RGBColor is just RGBColor in Javascript, and
not com.adobe.RGBColor, so the Javascript will not run as it s
On 4/18/16, 3:25 AM, "Harbs" wrote:
>I have a related question here. I can test, but if someone knows
>off-hand, it’ll save some work:
>
>How are conflicts in externs handled?
I think first-in-wins, but I'm not sure. The compiler might also throw an
error. I know for -library-path SWCs it is
The generated JavaScript always includes the full package. If they're in
different packages, there won't be a conflict.
- Josh
On Mon, Apr 18, 2016 at 3:25 AM, Harbs wrote:
> I have a related question here. I can test, but if someone knows off-hand,
> it’ll save some work:
>
> How are conflicts
I have a related question here. I can test, but if someone knows off-hand,
it’ll save some work:
How are conflicts in externs handled?
For example, Adobe’s CEP library has an RGBColor class which has four
attributes (including alpha), but the FlexJS js.swc has an RGBColor class which
is missin
Is there any docs that explain how to use it?
On Apr 18, 2016, at 7:12 AM, Alex Harui wrote:
> Michael Schmalle wrote the externC compile that converts .JS files to AS.
On 4/17/16, 11:00 PM, "Harbs" wrote:
>OK. That helps. Thanks.
>
>If I would want to add a SWC to an FDT project as an extrern, do you know
>what I should try to do?
No idea. I would hope they have a place to put additional compiler
arguments and you could add -external-library-path+=CSInterfa
I wrote a tutorial that teaches you how to add an externs SWC to an FDT
project.
http://nextgenactionscript.com/tutorials/fdt-project-dts2as-javascript-library-swc/
While the tutorial refers to a utility named dts2as, don't spend too much
time wondering about that. It's just a way to generate ext
OK. That helps. Thanks.
If I would want to add a SWC to an FDT project as an extrern, do you know what
I should try to do?
On Apr 18, 2016, at 7:12 AM, Alex Harui wrote:
> Any SWC can be an externs SWC. For the FalconJX compiler, it is just a
> SWC that goes on the external-library-path so th
Any SWC can be an externs SWC. For the FalconJX compiler, it is just a
SWC that goes on the external-library-path so that the compiler doesn't
try to look for actual .JS implementation files. Anything on the
external-library-path is assumed to have its implementation loaded some
other way (or bec
I’m still kind of fuzzy on how externs work.
I decided to try to create a CC Extension using FlexJS as an educational
exercise (and possibly as a prototype for others).
I would like to add compiler checking for CSInterface[1], but I’m not sure how
to go about it. I tried looking for how Create.
14 matches
Mail list logo