views:

152

answers:

1

Hi,

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

+3  A: 

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.
Amarghosh
If you have Flash Pro, and you want to use the fl.* components in Flash Builder, you can place all the components in your library and then export them in a SWC. If you only have Flash Builder, then they're not available, like you said.
joshtynjala