Does anyone know if there is any way to convert MXML (Flex) to HTML? If so, what is the medium to do this conversion?
Does anyone know if there is any way to convert MXML (Flex) to HTML? If so, what is the medium to do this conversion?
Not "technically" .
However there is a project called FlexJS that should already fit a lot (I can not state details of FlexJS compatibility and support for Flex):
Note that currently (02/05/2018) it is still in version 0.8.0, ie it may not have full compatibility with Flex and be free of BUGs, but it should do a lot of good.
To install via npm use the command (which makes it much easier to use it) use the command:
npm install flexjs -g
The commands available in CLI (terminal / cmd) after installation will be mxmlc
, compc
, asjsc
, asjscompc
, asnodec
, and externc
.
Converting .mxml
mxmlc <caminho do seu .mxml PRINCIPAL>
Converting .as
asjsc <caminho do seu .as PRINCIPAL>