Welcome, Guest. Please login or register.
Did you miss your activation email?
11 Mar 2010, 08:28:09 UTC
Forum home
+  flexdeveloper.eu Forum
|-+  Flex and ActionScript 3.0
| |-+  ActionScript 3.0 (Moderators: JMWhittaker, Jan K, thewarpedcoder, James)
| | |-+  Difference between Array & ArrayCollection?
« previous next »
Pages: [1] Print
Author Topic: Difference between Array & ArrayCollection? (Read 28911 times)
flexy
Guest
« on: 21 Aug 2006, 09:01:18 UTC »

What is the difference between an Array and an ArrayCollection???

The only difference I've noticed is the ability to use the ArrayCollection.addItem(object) method to push object data into the array, but as someone has quite rightly said, could you not simply use Array.push()Huh  :-?

What is a collection?
"In object-oriented programming, a collection class is any class that is capable of storing other objects. Collection classes usually implement some kind of data structure, such as a list, map, set, array, or tree. A collection class is usually able to store an arbitrary number of data items, i.e. the size of the collection is adjusted automatically."

Useful article called "What is an ArrayCollection
« Last Edit: 06 Apr 2009, 15:55:28 UTC by flexy » Logged
flexy
Guest
« Reply #1 on: 18 Sep 2006, 10:33:54 UTC »

Jodie O'Rourke asks - What is an ArrayCollection?

Here's a nice article that covers the subject of Collections in AS3
« Last Edit: 08 Jan 2010, 12:06:28 UTC by flexy » Logged
Pages: [1] Print
« previous next »
Share this on: Twitter Twitter Del.icio.us del.icio.us Digg Digg
Jump to:

©2006-2010 Flexdeveloper.eu/Jodie O'Rourke. All rights reserved.
Adobe®, Adobe® Flash™, Adobe® AIR™ and Adobe® Flex™ are registered trademarks of Adobe Systems Incorporated in the United States and other countries. All rights reserved.

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC