Frederic, There are currently two JS cross compilation projects happening: FalconJS and FalconJx.
FalconJS is a project started by Alex Harui. It is currently the most complete implementation and has (limited?) MXML parsing. The FalconJS compiler will take an MXML and AS project and output a valid HTML/JS application. FalconJS does depend on a custom AS framework (i.e. won't work with the Flex SDK) and corresponding JS framework. This framework goes by the name of FlexJS. Read more about it on the Wiki: https://cwiki.apache.org/confluence/display/FLEX/Alex%27s+FlexJS+Prototype FalconJx is the 'alternative' project from Michael Schmalle. It uses an alternative approach to AS3 compilation (don't ask for details, I have no clue about the innards of that code). One of it's main selling points (from my humble point of view) is that it has a very flexible architecture for outputting different flavours of JS. The status of this project is that we are working on getting complete AS3 language feature coverage in place. This means that we are working towards ~100% translation of AS into JS. I'm using the Google Closure Tools to augment standard JS to try and match the original AS language features. This is coming along nicely, but I'm sure the devil will be in the details. Read more on the 'goog' way here: https://cwiki.apache.org/confluence/display/FLEX/AS+to+JS+-+the+%27goog%27+Way FalconJx future: once we have AS (and hopefully MXML, at some point) translating into JS and have functional tests in place, the challenge will become to come up with both AS and JS framework to actually allow for application development. I'm silly enough to still cling to the idea that we'll be able to use (most of) the Flex SDK and create a compatible JS library... but I'm sure others will declare me insane for just dreaming about that :-) Have fun, EdB On Fri, Jan 18, 2013 at 12:24 PM, Fréderic Cox <coxfrede...@gmail.com> wrote: > I'm following your work with great interest, but I'm afraid as a "regular" > AS3 developer with no background in compilers this is a bit too technical > for me. I was wondering if you could explain in a non-technical way what > the status of the project is at this moment. > > Questions I have: > > - I have an AS3 project, what can I do with FalconJx? Will it run in the > browser already? > - I have a Flex project with MXML, can it run in the browser with FalconJx > instead of Flash Player? > - Is it technically possible to write in AS3/MXML and without Flash run > the content in the browser, how does it reflect to the "pages" paradigm > (history) and the DOM? > > Thanks for your hard work, just trying to understand where we are at at > this moment > > Fréderic Cox > > > > > On 18/01/13 12:19, "Michael Schmalle" <apa...@teotigraphix.com> wrote: > >>Hey all, >> >>Since the project is really taking shape thanks to our great >>cooperation, I am going to focus on the nemesis I have left and that >>is finishing of the ActionScript emitter. >> >>This project blew up fast with Erik contributing, I didn't get a >>chance to fully finish the ActionScript impl. Yes, I might have plans >>down the road to make a read/write AS DOM and having a fully >>functional AS3 emitter is essential. >> >>Mike >> >>-- >>Michael Schmalle - Teoti Graphix, LLC >>http://www.teotigraphix.com >>http://blog.teotigraphix.com >> > > -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl