Follow Flex After Dark on Twitter

Flex Collection Events (mx.events.CollectionEvent)

When a Collection's contents change it will dispatch an event. The event will contain a kind property that specifies how the collection changed.

Collection Event kinds are encapsulated in the mx.events.CollectionEventKind class.

There are several kinds of collection events:

  • add - an item was added
  • move - an item in the collection has moved to another position
  • refresh - the collection has applied a new sort or filter
  • remove - an item was removed
  • replace - an item in the collection was replaced with another
  • reset - the collection has changed drastically
  • update - one or more items in the collection have been updated

Determining Changed Items

TODO...

Related Links:

Related Docs
  • ActionScript ArrayCollection The ArrayCollection class is a robust collection class that can be more useful than a standard array.
  • Flex Events Events drive Flex applications. See how to register listeners and dispatch events.
  • Flex Collections Collections are objects that provide a uniform way to access and represent item lists.
Recent Docs
Random Docs