You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Patel Amit <am...@gmail.com> on 2016/06/27 16:02:23 UTC

Convert Flex into javascript

Hello,

we have already some dashboard application which is already created into
the flex , and we are not convert it into the native javascript manually .

Here can I use the FLEXJS to convert the flex application into the java
script ,

As per my knowledge using FlexJS - only the action script would be
converted into the javascript , so for the mxml how to conver into the
javascript ?

Best Regards,
Amit

Re: Convert Flex into javascript

Posted by Alex Harui <ah...@adobe.com>.

On 6/30/16, 10:54 AM, "Patel Amit" <am...@gmail.com> wrote:

>There are some import of flash and some custom component import so in this
>case I would do the manually to convert into native js.

It depends on what kinds of Flash things you are using.  You may find that
simple changes can allow you to cross-compile the whole thing.  If you
have good abstractions, you may find that FlexJS already has those
abstractions but under a different package and class name.  I would be
interested to know more about your code since it will give us information
about what other folks might have out there as well.

Thanks,
-Alex


Re: Convert Flex into javascript

Posted by Patel Amit <am...@gmail.com>.
There are some import of flash and some custom component import so in this
case I would do the manually to convert into native js.

@peter - I will try and keep upated on this .

Thanks Alex and Peter.

Regards,
On 30 Jun 2016 21:05, "Alex Harui" <ah...@adobe.com> wrote:

> Also, it matters how much your chart class relied on Flash classes.  If
> you look for "import flash." in your source code it should give you a
> clue.  It will be easier to port your charts to FlexJS charts if there
> aren't any Flash dependencies.  Dependencies on mx and spark classes are
> easier to emulate.
>
> -Alex
>
> On 6/30/16, 7:48 AM, "Peter Ent" <pe...@adobe.com> wrote:
>
> >Hi,
> >
> >You can only use the FlexJS classes available in the FlexJS project
> >framework. We do however, have a chart package. It is "basic" and provides
> >limited functionality at this point, but if you could try it out and let
> >us know what else you need, we can put it on our to-do list and perhaps a
> >volunteer will tackle it (or if you are able, you can modify it it as well
> >and contribute it back to the Apache FlexJS project).
> >
> >Regards,
> >Peter Ent
> >Adobe Systems/Apache Flex Project
> >
> >On 6/30/16, 3:01 AM, "Patel Amit" <am...@gmail.com> wrote:
> >
> >>can we convert inbuilt flex chart component class into the java script
> >>using FlexJS .
> >>
> >>Though our dashboard application contains all the custom chart class
> >>which
> >>extend the base chart class into the action script would
> >>it possible to convert into the native java script using flex js ?
> >>
> >>Regards,
> >>Amt Patel
> >>
> >>On Tue, Jun 28, 2016 at 11:09 AM, yishayw <yi...@hotmail.com>
> wrote:
> >>
> >>>
> >>> See FAQ "How much work will it be to switch from Flex to FlexJS?"
> >>>
> >>> here:
> >>>
> >>>
> >>>
> >>>
> https://cwiki.apache.org/confluence/display/FLEX/FlexJS+FAQ#FlexJSFAQ-Ca
> >>>n
> >>>IuseFlexJStoconvertmyFlexcodetoHTML/JS/CSS
> >>> ?
> >>>
> >>> Although some of the info there may not be up2date. E4X, for instance,
> >>>may
> >>> already be available.
> >>>
> >>>
> >>>
> >>> --
> >>> View this message in context:
> >>>
> >>>
> http://apache-flex-development.2333347.n4.nabble.com/Convert-Flex-into-j
> >>>a
> >>>vascript-tp53527p53529.html
> >>> Sent from the Apache Flex Development mailing list archive at
> >>>Nabble.com.
> >>>
> >
>
>

Re: Convert Flex into javascript

Posted by Alex Harui <ah...@adobe.com>.
Also, it matters how much your chart class relied on Flash classes.  If
you look for "import flash." in your source code it should give you a
clue.  It will be easier to port your charts to FlexJS charts if there
aren't any Flash dependencies.  Dependencies on mx and spark classes are
easier to emulate.

-Alex

On 6/30/16, 7:48 AM, "Peter Ent" <pe...@adobe.com> wrote:

>Hi,
>
>You can only use the FlexJS classes available in the FlexJS project
>framework. We do however, have a chart package. It is "basic" and provides
>limited functionality at this point, but if you could try it out and let
>us know what else you need, we can put it on our to-do list and perhaps a
>volunteer will tackle it (or if you are able, you can modify it it as well
>and contribute it back to the Apache FlexJS project).
>
>Regards,
>Peter Ent
>Adobe Systems/Apache Flex Project
>
>On 6/30/16, 3:01 AM, "Patel Amit" <am...@gmail.com> wrote:
>
>>can we convert inbuilt flex chart component class into the java script
>>using FlexJS .
>>
>>Though our dashboard application contains all the custom chart class
>>which
>>extend the base chart class into the action script would
>>it possible to convert into the native java script using flex js ?
>>
>>Regards,
>>Amt Patel
>>
>>On Tue, Jun 28, 2016 at 11:09 AM, yishayw <yi...@hotmail.com> wrote:
>>
>>>
>>> See FAQ "How much work will it be to switch from Flex to FlexJS?"
>>>
>>> here:
>>>
>>>
>>> 
>>>https://cwiki.apache.org/confluence/display/FLEX/FlexJS+FAQ#FlexJSFAQ-Ca
>>>n
>>>IuseFlexJStoconvertmyFlexcodetoHTML/JS/CSS
>>> ?
>>>
>>> Although some of the info there may not be up2date. E4X, for instance,
>>>may
>>> already be available.
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> 
>>>http://apache-flex-development.2333347.n4.nabble.com/Convert-Flex-into-j
>>>a
>>>vascript-tp53527p53529.html
>>> Sent from the Apache Flex Development mailing list archive at
>>>Nabble.com.
>>>
>


Re: Convert Flex into javascript

Posted by Peter Ent <pe...@adobe.com>.
Hi,

You can only use the FlexJS classes available in the FlexJS project
framework. We do however, have a chart package. It is "basic" and provides
limited functionality at this point, but if you could try it out and let
us know what else you need, we can put it on our to-do list and perhaps a
volunteer will tackle it (or if you are able, you can modify it it as well
and contribute it back to the Apache FlexJS project).

Regards,
Peter Ent
Adobe Systems/Apache Flex Project

On 6/30/16, 3:01 AM, "Patel Amit" <am...@gmail.com> wrote:

>can we convert inbuilt flex chart component class into the java script
>using FlexJS .
>
>Though our dashboard application contains all the custom chart class which
>extend the base chart class into the action script would
>it possible to convert into the native java script using flex js ?
>
>Regards,
>Amt Patel
>
>On Tue, Jun 28, 2016 at 11:09 AM, yishayw <yi...@hotmail.com> wrote:
>
>>
>> See FAQ "How much work will it be to switch from Flex to FlexJS?"
>>
>> here:
>>
>>
>> 
>>https://cwiki.apache.org/confluence/display/FLEX/FlexJS+FAQ#FlexJSFAQ-Can
>>IuseFlexJStoconvertmyFlexcodetoHTML/JS/CSS
>> ?
>>
>> Although some of the info there may not be up2date. E4X, for instance,
>>may
>> already be available.
>>
>>
>>
>> --
>> View this message in context:
>> 
>>http://apache-flex-development.2333347.n4.nabble.com/Convert-Flex-into-ja
>>vascript-tp53527p53529.html
>> Sent from the Apache Flex Development mailing list archive at
>>Nabble.com.
>>


Re: Convert Flex into javascript

Posted by Patel Amit <am...@gmail.com>.
can we convert inbuilt flex chart component class into the java script
using FlexJS .

Though our dashboard application contains all the custom chart class which
extend the base chart class into the action script would
it possible to convert into the native java script using flex js ?

Regards,
Amt Patel

On Tue, Jun 28, 2016 at 11:09 AM, yishayw <yi...@hotmail.com> wrote:

>
> See FAQ "How much work will it be to switch from Flex to FlexJS?"
>
> here:
>
>
> https://cwiki.apache.org/confluence/display/FLEX/FlexJS+FAQ#FlexJSFAQ-CanIuseFlexJStoconvertmyFlexcodetoHTML/JS/CSS
> ?
>
> Although some of the info there may not be up2date. E4X, for instance, may
> already be available.
>
>
>
> --
> View this message in context:
> http://apache-flex-development.2333347.n4.nabble.com/Convert-Flex-into-javascript-tp53527p53529.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>

Re: Convert Flex into javascript

Posted by yishayw <yi...@hotmail.com>.
See FAQ "How much work will it be to switch from Flex to FlexJS?"

here:

https://cwiki.apache.org/confluence/display/FLEX/FlexJS+FAQ#FlexJSFAQ-CanIuseFlexJStoconvertmyFlexcodetoHTML/JS/CSS?

Although some of the info there may not be up2date. E4X, for instance, may
already be available.



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/Convert-Flex-into-javascript-tp53527p53529.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Convert Flex into javascript

Posted by Peter Ent <pe...@adobe.com>.
Hi,

Good news: the MXML is also converted to JavaScript! The MXML file (or
files) along with the ActionScript they contain will automatically be
cross-compiled into JavaScript; you do not have to do a thing.

Regards,
Peter Ent
Adobe Systems/Apache Flex Project

On 6/27/16, 12:02 PM, "Patel Amit" <am...@gmail.com> wrote:

>Hello,
>
>we have already some dashboard application which is already created into
>the flex , and we are not convert it into the native javascript manually .
>
>Here can I use the FLEXJS to convert the flex application into the java
>script ,
>
>As per my knowledge using FlexJS - only the action script would be
>converted into the javascript , so for the mxml how to conver into the
>javascript ?
>
>Best Regards,
>Amit