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