AS3 项目 - 如何导入 TLF?
使用 Flash 开发,我需要在 AIR AS3 项目中创建一个 TLFTextField
,但是在哪里可以找到要导入的 swc?
我已经从 flex sdk 导入了 textLayout.swc,但出现错误:
Error: Type was not found or was not a compile-time constant: TLFTextField.
Using Flash develop I need to create a TLFTextField
in an AIR AS3 project, but where do I find the swc to import?
I have imported textLayout.swc from the the flex sdk, but I get the error:
Error: Type was not found or was not a compile-time constant: TLFTextField.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
TLFTextField 捆绑在 tlfruntime.swc 中。据我所知,它仅与 Flash 捆绑在一起,而不与 Flex SDK 捆绑在一起。
TLFTextField is bundled in tlfruntime.swc. As far as I know, that's only bundled with Flash, not the Flex SDK.
这看起来像源代码:
http://opensource.adobe.com/svn/opensource/flex/sdk/sandbox/viatropos/trunk/frameworks/projects/spark/src/mx/core/TLFTextField.as
This looks like the source code:
http://opensource.adobe.com/svn/opensource/flex/sdk/sandbox/viatropos/trunk/frameworks/projects/spark/src/mx/core/TLFTextField.as