ArrayCollection does not have any idea what type of elements you put into it. You can have an ArrayCollection full of Dog instances, or an ArrayCollection full of Cat instances, or an ArrayCollection full of Cats and Dogs (i.e., Pets). But all are just ArrayCollections and no casting is required.
You're probably thinking of Vector.<Pet> vs Vector.<Dog>. There are indeed different types, and one cannot be cast to the other. Gordon Smith Adobe Flex SDK Team From: [email protected] [mailto:[email protected]] On Behalf Of coder3 Sent: Thursday, October 15, 2009 3:54 PM To: [email protected] Subject: [flexcoders] cast/convert to a child class? Hi All, I have a arrayCollection of class Pet, and i have a child class Dog extends Pet, is there a way to convert the arrayCollection of Pet to arrayCollection of Dog? -- View this message in context: http://www.nabble.com/cast-convert-to-a-child-class--tp25917283p25917283.html Sent from the FlexCoders mailing list archive at Nabble.com.

