AS3项目-如何导入TLF



使用Flash开发,我需要在AIR AS3项目中创建TLFTextField,但我在哪里找到要导入的swc ?

我导入了textLayout。swc从flex sdk,但我得到错误:

Error: Type was not found or was not a compile-time constant: TLFTextField.

TLFTextField被绑定在tlruntime .swc中。据我所知,它只与Flash捆绑在一起,而不是Flex SDK。

源代码如下:http://opensource.adobe.com/svn/opensource/flex/sdk/sandbox/viatropos/trunk/frameworks/projects/spark/src/mx/core/TLFTextField.as

最新更新