什么包,我应该导入使用DataProvider类DataProvider

由网友(初夏の蔷薇)分享简介:我需要使用的DataProvider 类和我找不到包含它的包。在所有的例子,我看到他们用 fl.data ,但我使用Flex Builder SDK 3.4测试版,它不具有这样的包。任何线索?I need to use DataProvider class and i cannot find the package...

我需要使用的DataProvider 类和我找不到包含它的包。在所有的例子,我看到他们用 fl.data ,但我使用Flex Builder SDK 3.4测试版,它不具有这样的包。任何线索?

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?

谢谢

纳瓦

推荐答案

fl.data.DataProvider 是一个Flash创作工具的特定类,不能被导入到Flex项目。看看ArrayCollection或XMLListCollection对于弯曲。

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.

据Adobe的类而言,包开始

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

佛罗里达州。* 是CS3 / 4只。 MX。* 是的Flex / AIR只。 闪光灯。* 是随处可见。 fl.* are CS3/4 only. mx.* are Flex/AIR only. flash.* are available everywhere.