我应该导入什么包来使用 DataProvider 类 [英] what package I should import to use DataProvider class

查看:28
本文介绍了我应该导入什么包来使用 DataProvider 类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用 DataProvider 类,但我找不到包含它的包.在所有示例中,我看到他们使用 fl.data,但我使用的是 flex builder sdk 3.4 beta 并且它没有这样的包.有什么线索吗?

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 是 Fl​​ash 创作工具特定的类,不能导入到 flex 项目中.查看 ArrayCollectionXMLListCollection 用于 flex.

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.

就 Adob​​e 的类而言,以

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

  • fl.* 仅适用于 CS3/4.
  • mx.* 仅适用于 Flex/AIR.
  • flash.* 随处可用.
  • fl.* are CS3/4 only.
  • mx.* are Flex/AIR only.
  • flash.* are available everywhere.

这篇关于我应该导入什么包来使用 DataProvider 类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆