coderex
coderex

Reputation: 27875

How can I use ArrayCollection like feature in ActionScript 3.0 Flash IDE?

I heard that ArrayCollection on Flex, so how can I use ArrayCollection like feature in ActionScript 3.0 and Flash IDE.

Upvotes: 1

Views: 1860

Answers (2)

Drenai
Drenai

Reputation: 12377

Unless I didnt get this question, try:

HTTPService and ArrayCollection in Flash CS4

Upvotes: 0

Samuel Neff
Samuel Neff

Reputation: 74929

The equivalent Flash IDE class is fl.data.DataProvider.

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/data/DataProvider.html

The DataProvider class provides methods and properties that allow you to query and modify the data in any list-based component--for example, in a List, DataGrid, TileList, or ComboBox component.

A data provider is a linear collection of items that serve as a data source--for example, an array. Each item in a data provider is an object or XML object that contains one or more fields of data. You can access the items that are contained in a data provider by index, by using the DataProvider.getItemAt() method.

Upvotes: 2

Related Questions