You have added objects in an ArrayList. How do you fetch those items from the ArrayList?
You can't call it in the native array style but you can use the associated methods of the class such as getItemAt.
For a full list of the methods you can interactive with check out adobes documentation at:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/collections/ArrayList.html
This area is probably the most interesting:
Right fromt the main description:
'The ArrayList class is a simple implementation of IList that uses a backing Array as the source of the data. Items in the backing Array can be accessed and manipulated using the methods and properties of the
IList interface. Operations on an ArrayList instance modify the data source; for example, if you use the
removeItemAt() method on an ArrayList, you remove the item from the underlying Array. This base class will not throw ItemPendingErrors but it is possible that a subclass might.'
_
Ben Fhala
Flash/AS3 School || Follow @02geek || Youtube Channel || EventController || More Recipes
In the spotlight:
Learning How to develop from the ground up with The ActionScript 3.0 Developer basics Videos and Exams
P.S. If you want to call my attention to a request
add
@02geek to the title or twitter
my nickname and a link to your post.
+