On 2/24/12 10:03 AM, "Omar Gonzalez" <omarg.develo...@gmail.com> 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 (http://plugrman.com/) 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.
http://blogs.adobe.com/aharui