incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <>
Subject Re: [IDEAS] Collections and Generics
Date Fri, 24 Feb 2012 18:53:42 GMT

On 2/24/12 10:03 AM, "Omar Gonzalez" <> wrote:

> I think I just figured out what you were asking, if you mean using the
> VectorCollection for AMF sending/receiving I have not tested that at all. I
> was mainly using VectorCollection for displaying models in List type
> components. I do remember running into issues with reflection on Vector
> objects when I was writing PlugrMan ( to hook into
> different AMF libraries, but its been a while since I did that work so I
> don't remember exactly what problems I ran into.

Actually, I was more simply asking about if you have a property or method or
parameter of type VectorCollection.<Object>.  I thought you couldn't pass in
a VectorCollection of ints or a VectorCollection of strings into a
VectorCollection of Objects.  It was a problem for straight up Vector.  You
might say that List's selectedItems returns a Vector.<Object> but then it
can't return a Vector.<String>

Also, what does getItemAt return?  Does it cause type-coercion?
Alex Harui
Flex SDK Team
Adobe Systems, Inc.

View raw message