Re: [FlexJS] FW: Cross-compiling to build components

2013-12-16 Thread Erik de Bruin
Yes, as I understand it, it does. So it would really be inverse of what we're doing. We're stubbing the JS to 'fit' AS. Frank suggests we stub AS to 'fit' the HTML/DOM etc. In his approach the only language anyone - component and application developers alike - would have to write in would be AS. B

Re: [FlexJS] FW: Cross-compiling to build components

2013-12-16 Thread Alex Harui
Interesting. But that would require a SWC that stubs the browser APIs? On 12/16/13 6:27 AM, "Frank Wienberg" wrote: >Hi Alex, > >sorry for the late response. >I didn't mean to use the same code base for the SWF and the HTML >components, but only the same programming language: ActionScript! >Of

Re: [FlexJS] FW: Cross-compiling to build components

2013-12-16 Thread Frank Wienberg
Hi Alex, sorry for the late response. I didn't mean to use the same code base for the SWF and the HTML components, but only the same programming language: ActionScript! Of course you would still have to learn different low-level APIs (DisplayList versus browser DOM/BOM), but at least you could use

Re: [FlexJS] FW: Cross-compiling to build components

2013-12-10 Thread Alex Harui
The implementation of some low-level components will be vastly different for SWF than for JS. I'm not clear how you could generate the JS from the AS version. -Alex On 12/10/13 12:13 AM, "Frank Wienberg" wrote: >Hi, > >great to hear of this new approach! >I never understood why you guys implem

Re: [FlexJS] FW: Cross-compiling to build components

2013-12-10 Thread Frank Wienberg
Hi, great to hear of this new approach! I never understood why you guys implement Flex components for HTML5 in JS, not in ActionScript. Once you have AS3 API "stubs" of the browser APIs (DOM, BOM, remember my suggestions about a [Native] annotation some time ago?), you would not be limited to buil

[FlexJS] FW: Cross-compiling to build components

2013-12-06 Thread Peter Ent
Hi, I've extended the Wiki page for creating components on the FlexJS Wiki pages. I've also placed the sample code I used, called "DataGridXcompile", in the FlexJS examples directory. Peter Ent Adobe Systems On 12/6/13 1:14 PM, "Peter Ent" wrote: >I will update the wiki. >Thanks. >--peter > >O

Re: Cross-compiling to build components

2013-12-06 Thread Peter Ent
I will update the wiki. Thanks. --peter On 12/6/13 1:08 PM, "OmPrakash Muppirala" wrote: >This is fantastic news, Peter! > >If you can add a page in the wiki describing the process of converting a >simple AS3 component into JS, that would be so much helpful for folks like >me, who want to help w

Re: Cross-compiling to build components

2013-12-06 Thread OmPrakash Muppirala
This is fantastic news, Peter! If you can add a page in the wiki describing the process of converting a simple AS3 component into JS, that would be so much helpful for folks like me, who want to help with building components for FlexJS. Thanks, Om On Dec 6, 2013 9:39 AM, "Erik de Bruin" wrote:

Re: Cross-compiling to build components

2013-12-06 Thread Erik de Bruin
Way to go, Peter! Let me know if there is a way to optimise the process. There is a lot we can do with FalconJx and maybe the framework architecture that will allow us to do more with this paradigm... EdB On Fri, Dec 6, 2013 at 6:31 PM, Cosma Colanicchia wrote: > Very nice job! > > > 2013/12

Re: Cross-compiling to build components

2013-12-06 Thread Cosma Colanicchia
Very nice job! 2013/12/6 Mr. Rich > Great news Peter, > On Dec 6, 2013 11:42 AM, "Peter Ent" wrote: > > > Hi, > > > > I've just finished an experiment with pretty good results. > > > > A little while ago I created a first pass at a FlexJS DataGrid. This > meant > > building both the ActionScri

Re: Cross-compiling to build components

2013-12-06 Thread Mr. Rich
Great news Peter, On Dec 6, 2013 11:42 AM, "Peter Ent" wrote: > Hi, > > I've just finished an experiment with pretty good results. > > A little while ago I created a first pass at a FlexJS DataGrid. This meant > building both the ActionScript and the JavaScript components and all of > their parts

Cross-compiling to build components

2013-12-06 Thread Peter Ent
Hi, I've just finished an experiment with pretty good results. A little while ago I created a first pass at a FlexJS DataGrid. This meant building both the ActionScript and the JavaScript components and all of their parts (data model, view, and so forth). Creating a new component for FlexJS fo