That's up to how you want to implement it. Since we (our corporate team, not the Royale project) have gotten rid of our old Flex backwards compatibility, we were able to completely offloaded all styles, transitions, effects to CSS. The native ones in the web browser are much better than the ones we used in flex IMO. Royale still has to end up with the browsers features / limitations in the long run if you target web, so we shortcut the process this way.
Just my 2c -Mark K -----Original Message----- From: CapitanoG76 <[email protected]> Sent: Monday, October 3, 2022 10:45 To: [email protected]; Kessler CTR Mark J <[email protected]> Subject: Re: [Non-DoD Source] UIComponent and transformation matrix The rotation is dynamically applied with different angles while the user clicks and drags the mouse button, would CSS still be suitable for that use case? On Mon, 3 Oct 2022 at 13:36, Kessler CTR Mark J via users <[email protected] <mailto:[email protected]> > wrote: One benefit of being the JS environment is the ability to assign external CSS which can also cover transforms. -Mark K -----Original Message----- From: CapitanoG76 <[email protected] <mailto:[email protected]> > Sent: Sunday, October 2, 2022 19:32 To: [email protected] <mailto:[email protected]> Subject: [Non-DoD Source] UIComponent and transformation matrix Hello, I am porting a Flex application into Royale in order to transpile to Javascript. The application had some graphical elements which extended UIComponent and were added as children to an mx.containers.Canvas. I was using UIComponent.transform.matrix to rotate the elements, however in Royale UIComponent does not have the transform property anymore. Is there any way I can apply rotation/translation to my elements? I'd need to write code similar to var m:Matrix = new Matrix(); m.rotate(angle); this.transform.matrix = m; Thanks, Marco
