On Mon, Jun 15, 2015 at 3:35 PM, Frédéric THOMAS <webdoubl...@hotmail.com>
wrote:

> > Fred, this works for me;
>
> Damn, thanks :-)
>
> > The only thing I had to delete was that stupid / character, that must be
> an
> > emitter bug,
>
> Yeah, a pain..
>



I will see if I can fix it, right now I have no idea, never looked at that
part of the code yet.




> > I also just added
> >
> -external-library-path=C:\Users\Teoti\Documents\ApacheFlex\git\flex-falcon\compiler.jx.tests\temp\externals\bin\JS.swc
>
> You don't need to do that, add it as a normal dependency of your module
> and mark it as external instead of merge, it's easier !!
>



I tried that and it didn't seem to work. I will try it again.



Mike



>
> Frédéric THOMAS
>
>
> ----------------------------------------
> > Date: Mon, 15 Jun 2015 15:31:46 -0400
> > Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > From: teotigraphix...@gmail.com
> > To: dev@flex.apache.org
> >
> > Fred, this works for me;
> >
> > AS
> > https://gist.github.com/teotigraphix/32fe584b9e0fd0bbf8f6
> >
> > JS
> > https://gist.github.com/teotigraphix/c301463185bb62aa7853
> >
> > The only thing I had to delete was that stupid / character, that must be
> an
> > emitter bug, and the call to Main.start(), It showed a blue table! It's
> > missing the rows, but I think you forgot a call or something, but the
> > header and footer render fine.
> >
> > http://snag.gy/eWqEz.jpg
> >
> > I also just added
> >
> -external-library-path=C:\Users\Teoti\Documents\ApacheFlex\git\flex-falcon\compiler.jx.tests\temp\externals\bin\JS.swc
> >
> > to additional compiler arguments.
> >
> > Mike
> >
> >
> >
> >
> >
> > On Mon, Jun 15, 2015 at 3:26 PM, Frédéric THOMAS <
> webdoubl...@hotmail.com>
> > wrote:
> >
> >>> Hmm. Why are you extending from Sprite? You can’t use any low-level
> >>> Flash stuff in FlexJS. We should probably add a compiler option to warn
> >>> on that. DataBindingTest_as extends from
> >>> org.apache.flex.core.Application. It is all about abstractions.
> >>
> >> I did that for 2 reasons:
> >>
> >> 1- Application define document and JS.swc window.document doesn't exist,
> >> so the this.document application wrapper is used and I can't do
> anything I
> >> want with this.document with the DOM
> >>
> >> 2- Application needs an initialView, etc.... I don't want to provide
> that.
> >>
> >> I've seen HTMLElementWrapper, maybe it could be extended to create a
> >> SimpleJSApplcation ?
> >>
> >> The only way I made my as / js html table render using JS.swc and
> >> Application was to replace in the generated js, this.document with
> >> window.document and had still some error reported because of the initial
> >> view.
> >>
> >> Frédéric THOMAS
> >>
> >>
> >> ----------------------------------------
> >>> From: aha...@adobe.com
> >>> To: dev@flex.apache.org
> >>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ
> Integration
> >>> Date: Mon, 15 Jun 2015 18:04:06 +0000
> >>>
> >>> Hmm. Why are you extending from Sprite? You can’t use any low-level
> >>> Flash stuff in FlexJS. We should probably add a compiler option to warn
> >>> on that. DataBindingTest_as extends from
> >>> org.apache.flex.core.Application. It is all about abstractions.
> >>>
> >>> -Alex
> >>>
> >>> On 6/15/15, 10:51 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com>
> wrote:
> >>>
> >>>>>>> Up to you, but I don’t think I’d be able to get FB to do that. IMO,
> >>>>>>>there
> >>>>>>> are Flex(MXML) projects and AS projects.
> >>>>>>
> >>>>>>In FB, we can create an AS projects with FlexJS as SDK ?
> >>>>>
> >>>>> Haven’t tried it, but should work since they should just be
> third-party
> >>>>> libs. You can create an AS-only (no MXML) FlexJS app. See
> >>>>> examples/DataBindingTest_as
> >>>>
> >>>>I didn't try DataBindingTest_as yet but tried this
> >>>>https://gist.github.com/doublefx/b380b6deeb5094e31f43 and got compiled
> >> to
> >>>>this https://gist.github.com/doublefx/af83fae1e1ee54acbc23
> >>>>
> >>>>Even removing the weird extra "\" at the end of
> >>>>goog.require('org_apache_flex_utils_Language');\
> >>>>Chrome complained because:
> >>>>
> >>>>Main.base(this, 'constructor'); // Uncaught TypeError:
> >>>>Main.base is not a function
> >>>>goog.inherits(Main, flash_display_Sprite); // Uncaught ReferenceError:
> >>>>flash_display_Sprite is not defined
> >>>>
> >>>>Any clue ?
> >>>>
> >>>>Frédéric THOMAS
> >>>>
> >>>>
> >>>>----------------------------------------
> >>>>> From: aha...@adobe.com
> >>>>> To: dev@flex.apache.org
> >>>>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ
> >> Integration
> >>>>> Date: Mon, 15 Jun 2015 17:40:01 +0000
> >>>>>
> >>>>>
> >>>>>
> >>>>> On 6/15/15, 9:45 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com>
> >> wrote:
> >>>>>
> >>>>>>> Up to you, but I don’t think I’d be able to get FB to do that. IMO,
> >>>>>>>there
> >>>>>>> are Flex(MXML) projects and AS projects.
> >>>>>>
> >>>>>>In FB, we can create an AS projects with FlexJS as SDK ?
> >>>>>
> >>>>> Haven’t tried it, but should work since they should just be
> third-party
> >>>>> libs. You can create an AS-only (no MXML) FlexJS app. See
> >>>>> examples/DataBindingTest_as
> >>>>>
> >>>>> -Alex
> >>>>>
> >>>>>
> >>>>
> >>>
> >>
> >>
>
>

Reply via email to