On 7/25/06, JesterXL <[EMAIL PROTECTED]> wrote:
A drawer from Disney's "Beauty and the Beast" that goes, "Dude, you just put something in me!".It does this by emitting an event, collectionChanged, when this happens. Controls can listen for this event and know when the array is updated in order to redraw themselves, like the DataGrid, List, etc.An Array is like a drawer in the real world. You can put something in it, but it doesn't talk to you.----- Original Message -----From: Bill BrownSent: Tuesday, July 25, 2006 5:59 PMSubject: [flexcoders] What is the difference between an Array and an ArrayCollection?This is a pretty newbie programming question, but coming from an AS1/AS2 background I'm not familiar with the difference between an Array and an ArrayCollection.
Could someone please explain the difference, or suggest a URL that explains the difference?
When I learned about arrays through Phillip Kerman's Actionscript book, he suggested that a "variable" was like a drawer that could hold data and an "array" was like a chest of drawers where you could reference each drawer with an index. What would an "arrayCollection" be in this analogy?
Thanks,
BB
--
Jason __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

