Hi Alex, I assume that UX is very different and although we have a "s:Button" lots of changes must be done, so in the end, I think people must rewrite UX. But AS3 classes are almost the same (lots of vars type String, Number, int, Boolean,....and ArrayCollection). In this point, it will be a shame to make people to go each file making changes to get ArrayCollections to match other classes methods and signatures...
In the other hand, about internals of how ArrayCollection operates, I think that can be reworked in order to perform better, right? 2018-02-15 9:20 GMT+01:00 Alex Harui <aha...@adobe.com.invalid>: > If the goal is to further reduce the number of changes to migrated code, > we should just start a new component set. IIRC, ArrayCollection usually > has very bad performance if you use array indexing to access it. > ArrayList should perform much better but you can't use array indexing. > Filtering and sorting should be written as beads. > > My 2 cents, > -Alex > > On 2/15/18, 12:11 AM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com> wrote: > > >Hi Carlos, > > > >We have ArrayList which is enough close to ArrayCollection. I have with > >success replace ArrayCollection to ArrayList in my examples. > > > >Thanks, Piotr > > > >2018-02-15 8:47 GMT+01:00 Carlos Rovira <carlosrov...@apache.org>: > > > >> Hi > >> > >> I saw Alina post in user list about substitutes and I think one > >>important > >> one is: > >> > >> import mx.collections.ArrayCollection; //very similar to > >> org.apache.royale.collections.TreeData > >> > >> In order to ease the port of Flex apps to Royale, one thing we try is to > >> reuse as much AS3 logic, while in UX we need to create all new code > >> > >> ArrayCollection is very close to business logic, and widely used in AMF > >> calls. > >> > >> I suggest we should have ArrayCollection in Royale and even respect > >> namespace to avoid users to change any line in AS3 code. > >> > >> Only with this point we can remove lots of pain in migration process > >>from > >> Flex to Royale > >> > >> what do you think? > >> > >> -- > >> Carlos Rovira > >> > >>https://na01.safelinks.protection.outlook.com/?url= > http%3A%2F%2Fabout.me% > >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com% > 7C10ecbb5b8c464b4ed36708 > >>d5744bcadb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0% > 7C63654279123032447 > >>4&sdata=RY6LraL22n2Yt9QiNyJc0FQms64yALaKy16%2FNW7XHJc%3D&reserved=0 > >> > > > > > > > >-- > > > >Piotr Zarzycki > > > >Patreon: > >*https://na01.safelinks.protection.outlook.com/?url= > https%3A%2F%2Fwww.patr > >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com% > 7C10ecbb5b8c464b > >4ed36708d5744bcadb%7Cfa7b1b5a7b34438794aed2c178de > cee1%7C0%7C0%7C6365427912 > >30324474&sdata=mwO%2FFFYUAHHA8VlHeJQreNzUOMKzd% > 2BeqaMV6%2FNPhIKk%3D&reserv > >ed=0 > ><https://na01.safelinks.protection.outlook.com/?url= > https%3A%2F%2Fwww.patr > >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com% > 7C10ecbb5b8c464b > >4ed36708d5744bcadb%7Cfa7b1b5a7b34438794aed2c178de > cee1%7C0%7C0%7C6365427912 > >30324474&sdata=mwO%2FFFYUAHHA8VlHeJQreNzUOMKzd% > 2BeqaMV6%2FNPhIKk%3D&reserv > >ed=0>* > > -- Carlos Rovira http://about.me/carlosrovira