flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From João Fernandes <joaopedromartinsfernan...@gmail.com>
Subject Re: [FlexJS] BarChart component added
Date Thu, 19 Dec 2013 16:49:10 GMT
Couldn't we simply mark a class with a [Native] metadata? I think randori
framework has a similar approach.


On 19 December 2013 15:30, Erik de Bruin <erik@ixsoftware.nl> wrote:

> I think that would involve keeping track of what compilation units
> have been processed and then skip the ones from the framework if they
> have a counter part in the project files. I'm not sure if Falcon would
> like that.
>
> I'm "away from computer" this week, so above is just a barely educated
> guess. You mileage may vary ;-)
>
> EdB
>
>
>
> On Tue, Dec 17, 2013 at 2:54 PM, Alex Harui <aharui@adobe.com> wrote:
> > Way to go!
> >
> > The next thing Erik or I have to figure out is the build script and
> > compiler changes so that certain AS files get cross-compiled to JS
> without
> > overwriting the hand-written JS files.  Erik, any thoughts on how tricky
> > that will be?
> >
> > -Alex
> >
> > On 12/17/13 12:49 PM, "Peter Ent" <pent@adobe.com> wrote:
> >
> >>Hi,
> >>
> >>I've added a simple BarChart component to the ActionScript FlexJS SDK; it
> >>is modeled on the MX Charts package. I also included an example of using
> >>it, located in the FlexJS examples directory.
> >>
> >>I developed the BarChart in ActionScript but it can be cross-compiled
> >>into JavaScript and produces the same chart. The BarChartExample has the
> >>sources in the project so that you can compile it for either ActionScript
> >>or JavaScript.  I've included a README  in that project with more
> >>information.
> >>
> >>The intent, as with the DataGrid, is to develop more complex components
> >>in ActionScript and cross-compile them into JavaScript, saving a lot of
> >>time. While doing this project I had to hand-craft a JavaScript component
> >>to display the bars since the ActionScript version relies on the Flash
> >>Player's Shape class and that is not available in HTML. I think this
> >>really illustrates the potential of FlexJS where you can have a good set
> >>of fundamental components that are environment specific (e.g., Button,
> >>Label, and TextInput) which must be crafted for all environments, but
> >>complex components can be written in ActionScript and just cross-compiled
> >>into JavaScript.
> >>
> >>My next task is add some simple axis labeling.
> >>
> >>Regards,
> >>Peter Ent
> >>Adobe Systems
> >
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl
>



-- 

João Fernandes

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message