无法在Flash项目中使用UITextField

时间:2014-08-13 07:35:08

标签: actionscript-3 flash flash-builder

我有一个flash / actionscript3项目,可以创建一个在网页中使用的SWF。

我修改它以使用mx.core.UITextField代替flash.text.TestField。我无法在项目库中找到UITextField类,编译器会抛出错误

Call to a possibly undefined method UITextField.
Type was not found or was not a compile-time constant: UITextField.

我正在使用Flash Builder 4.6和Flash Pro CS6。

请让我知道我需要包含哪个库才能使用UITextField类。

1 个答案:

答案 0 :(得分:1)

UITextField是Flex框架的一部分。 Adobe的一些官方information。 Apache的一些官方information