Hi Alex;
My “Component_Base” is an AS class. The component classes that super “Component_Base” dynamically create/instance visual components like TextInput, DateField, DataGrid, etc. are also AS. All Components also dynamically create an instances of the PopUpWindow based components when state = “active” and when “double clicked” used as the editor to change properties like height, width and x and Y position. The reason I was thinking I needed to use the ViewBase is because I need to add visual elements (if I understood the API correctly) Is there any in-depth guide to help along with conversions? If not keeping in mind what I have said previously about my proficiencies would it be useful / helpful to journal my experiences with your help and make it available in some form to the Royale user base. If you say no my feelings will NOT be hurt. Thx! Carlos From: Alex Harui [mailto:[email protected]] Sent: Tuesday, November 14, 2017 1:46 AM To: [email protected] Subject: Re: converting components. Hi Carlos, ViewBase is too heavy. UIBase is lighter than UIComponent, but might work. Are your components in MXML or AS? If MXML, we might need to create a new base class for you. HTH, -Alex From: Carlos Cruz <[email protected] <mailto:[email protected]> > Reply-To: "[email protected] <mailto:[email protected]> " <[email protected] <mailto:[email protected]> > Date: Monday, November 13, 2017 at 8:29 PM To: "[email protected] <mailto:[email protected]> " <[email protected] <mailto:[email protected]> > Subject: converting components. Hi, I have a few hundred custom components (i.e. a city selector) to convert from Flex to Royale I was wondering if I could get some input or confirmation my approach will be OK. All the components I want to convert are made up of a custom base component using the Flex UIComponent Class that holds the properties and an ArrayCollection to hold special properties and 1 Flex image component. Is the ViewBase class the base class to create visual components in Royale (I realize I will have to add functionality like mouse events)? Then I’m thinking of using the ArrayList to replace the ArrayCollection component (I do need sort and filters) I’m I on the right track? Thanks! Carlos
