Nava Carmon
Nava Carmon

Reputation: 4533

what package I should import to use DataProvider class

I need to use DataProvider class and i cannot find the package that contains it. In all examples I saw they use fl.data, but I'm using flex builder sdk 3.4 beta and it doesn't have such a package. Any clue?

Thanks,

Nava

Upvotes: 1

Views: 1094

Answers (1)

Amarghosh
Amarghosh

Reputation: 59451

fl.data.DataProvider is a Flash authoring tool specific class and cannot be imported to a flex project. Check out ArrayCollection or XMLListCollection for flex.

As far as Adobe's classes are concerned, packages starting with

  • fl.* are CS3/4 only.
  • mx.* are Flex/AIR only.
  • flash.* are available everywhere.

Upvotes: 5

Related Questions