I'm in the process of converting a few Flex apps to Royale. I'm using
Royale for the HTML page and Electron for the desktop app (wrapping up
the HTML page). I can use the same business logic and AS3 classes for
both. AIR is able to present HTML pages but the embedded webkit doesn't
support SVG and some other features that I needed.
I documented setting up the project here,
https://royale.apache.org/how-to-create-a-desktop-application-with-royale-and-electron/
And I have example starter projects here:
https://github.com/velara3/as3
Eventually I'd like to get it working with Web Export so you can do
designs in XD, forms and graphs in Royale MXML and code in AS3.
On 7/20/19 4:11 AM, Carlos Rovira wrote:
The way I proceed with our Flex App migration to Royale was:
1.- replicate the same project libraries layout, so if with have a
"flexlib1" we have as well "royalelib1".
2.- Copy the AS3 code from Flex to Royale
3.- Check for flash API code (in our case we didn't have mostly no flash
apis in that part)
4.- for MXML files copy, and since we use Jewel, transform that MXML from
MX/SPARK to Jewel. This is easy for some components (s:Button to
j:Button... or s:CheckBox to j:CheckBox), but less direct for other ones.
5.- The main App and navigation was changed from an old desktop one to
something more modern. This is basically copying the structure of Tour De
Jewel that is responsive and shows a Drawer in the left side.
El sáb., 20 jul. 2019 a las 2:24, gkk gb (<[email protected]>) escribió:
Thanks for that. Yes, all data crunching is in AS3 and minimal Flash API
code. I'm mainly worried about MXML and how it connects to the rest of the
app. What do you recommend for modifying the code base...