Hello david,
You have to use ArrayList

Hiedra

-----Mensaje original-----
De: David Slotemaker de Bruine <[email protected]> 
Enviado el: lunes, 8 de febrero de 2021 8:34
Para: [email protected]
Asunto: ArrayCollection

Hi All,

I did a search on the new group but only came up with suggestions as to what I 
have already.

In the Flex app I am (semi) porting I have a constants file (and others) that 
have vars pf type ArrayCollection declared.

During the initialize event in my main Royal app I am calling:

registerClassAlias("flex.messaging.io.ArrayCollection", ArrayList);

 I have

    <js:ClassAliasBead />

declared in the J beads in the main app.

But I am getting:

 68 Error: Call to a possibly undefined method ArrayCollection for the 
constants.as file.

Do I need to register that alias in each file? Can I even use Array Collection 
in .as files or do I need to replace them with ArrayList?

Cheers.

David

Reply via email to