Thanks! Eric. That helped a lot.

On Sun, Mar 31, 2013 at 1:19 PM, Erik de Bruin <e...@ixsoftware.nl> wrote:

> Hi,
>
> The wiki page is a little behind the facts, I'm afraid. I'll try to
> explain what's going on in the compiler(s) as best as I can.
>
> It really boils down to this: for each AS class or MXML tag there is a
> complimentary JS class. The FlexJS library is actually 2 libraries:
> one AS/MXML library that is intended to be used instead of the regular
> Flex library and one JS library. The user generated code - your
> application - is build using the AS/MXML library in an IDE (like Flash
> Builder) and can be played/debugged in the Flash Player. Once
> completed, the idea is that you select "publish as JavaScript", which
> invoke the FalconJx compiler on your code (NOT the AS library). The
> compiler takes your code and parses it so all AS/MXML language
> features are translated into their JS counterparts (this is documented
> in the Wiki). The resulting JS code than can run in the browser on top
> of the FlexJS JS library. This 'browser side' library has objects and
> features that match the AS/MXML library one-to-one. Combined with the
> user generated code this will display your AS application in any
> browser without the need for the Flash plugin.
>
> HTH,
>
> EdB
>
>
>
> On Sun, Mar 31, 2013 at 9:34 AM, Prateek Srivastava
> <prateek.srivast...@globallogic.com> wrote:
> > Hi All,
> >
> >  I am following your progress around the AS to JS compiler. I was
> > going through the wiki page which tells about the progress.
> >
> > I was just curios to know how are you converting the display object
> > from MXML to JS.  There is no place where it is mentioned that which
> > mxml component gets converted to which Html/JS component. Can you help
> > me understanding that thing?
> >
> > Thanks in advance for your answers
> >
> > Thanks
> > -Prateek
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl
>



-- 

Prateek Srivastava| Associate Consultant Engineering
GlobalLogic
 M +91-7838442992  S prateeksri123
www.globallogic.com
 <http://www.globallogic.com/>
http://www.globallogic.com/email_disclaimer.txt

Reply via email to