On Fri, Feb 24, 2012 at 11:19 AM, Alex Harui <aha...@adobe.com> wrote:
> > > > On 2/24/12 11:11 AM, "Omar Gonzalez" <omarg.develo...@gmail.com> wrote: > > > Then its just a matter > > of retrieving the first item of the Vector and reflecting its type to > > create an instance of and return the Vector list of selectedItems. > IIRC, the issue is the creating and returning a different vector is a loop > that coerces every item in the vector which is "bad". There once was a > plan > to allow auto-conversion of Vector.<*> but I don't think that happened. > > -- > Alex Harui > Flex SDK Team > Adobe Systems, Inc. > http://blogs.adobe.com/aharui > > Well, selectedItems returns a Vector.<Object> [1] so there must be some coercion going on somewhere, I just haven't looked at the source for s:List. [1] http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/List.html#selectedItems -- Omar Gonzalez s9tpep...@apache.org Apache Flex PPMC Member