How to convert Flex to Royale mx

2020-10-20 Thread Piotr Grudzinski
Hi all, Below is a small example of a code I'm trying to convert from Flex to Royale mx. I would appreciate any pointers/examples. Thanks and be safe, Piotr

RE: How to minify mxroyale\HelloWorld .js file

2020-10-20 Thread Yishay Weiss
There should be [1] a minified version under js-release [1] https://apache.github.io/royale-docs/get-started/hello-world From: Carlos Rovira Sent: Monday, October 19, 2020 11:06 PM To: users@royale.apache.org Subject: Re: How to min

Re: How to minify mxroyale\HelloWorld .js file

2020-10-20 Thread Carlos Rovira
Hi Yishay, he's talking about reducing size of the js-release version El mar., 20 oct. 2020 a las 17:07, Yishay Weiss () escribió: > There should be [1] a minified version under js-release > > > > [1] https://apache.github.io/royale-docs/get-started/hello-world > > > > > > *From: *Carlos Rovira

RE: How to minify mxroyale\HelloWorld .js file

2020-10-20 Thread Yishay Weiss
Sorry, missed that. So to expand a bit on Carlos’s answer, using emulation will probably cut down dev time but will certainly increase app size. If you are looking for the leanest solution that’s what Basic is for. Jewel is less focused on app size but will probably still be somewhat smaller th

Re: How to minify mxroyale\HelloWorld .js file

2020-10-20 Thread Piotr Grudzinski
The HelloWorld.swf file is only 79KB in size. Looking at the initial part of the HelloWorld.js with a text editor gives me an impression that most of the stuff in this file is never used. Examples: Bl='org.apache.royale.utils.Timer' vf='org.apache.royale.graphics.GradientEntry' On Tue, Oct 20, 20

Re: How to minify mxroyale\HelloWorld .js file

2020-10-20 Thread Carlos Rovira
Hi Piotr, I think it is the same issue that happened with Flex. And the reason why PAYG was adopted If you don't want that overweight you must leave emulation and go with pure Royale, is a bit more work in the layout, but I think it's worth it. El mar., 20 oct. 2020 a las 19:06, Piotr Grudzinski

Re: How to minify mxroyale\HelloWorld .js file

2020-10-20 Thread Greg Dove
Hi Piotr, Emulation will always have more weight because, in addition to a reasonably 'heavy' (but very capable) framework, in js there is also emulation of certain flash player features that were not part of the flex framework itself but are not present in the browser. (such as emulation of flash