如何访问“mx” 或“fl” Flex Builder Actionscript 项目中的命名空间?

发布于 2024-07-17 21:44:18 字数 131 浏览 3 评论 0原文

如何访问 Flex Builder Actionscript 项目中的 mxfl 命名空间?

我需要包含某个 .swc 文件吗?

我好像找不到是哪一个

How do I access the mx or fl namespaces in a Flex Builder Actionscript Project?

Do I need to include a certain .swc file?

I can't seem to find which one.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

素年丶 2024-07-24 21:44:18

您可以只导入 mx,但请注意您的项目将承受 Flex 框架的大量重量。 所有 l 包类都位于 Flash 安装文件夹中,需要作为源文件夹添加到 FB 的编译器路径中。

如果您只想使用缓动功能,那么该解决方案比导入任何 MX 包更容易。 当我在 AS3 项目中使用 GTween 时,我只需将函数剪切粘贴到我自己的静态类中。

You can just import mx, but be aware your project will carry a ton of weight from the Flex framework. All of the l package classes are in your Flash installation folder and need to be added as a source folder in your compiler paths in FB.

If you just want to use the easing function than the solution is easier than importing any of the MX packages. When I use GTween in AS3 projects I simply cut-n-paste the functions into my own static classes.

烧了回忆取暖 2024-07-24 21:44:18
import mx.effects.easing.*;
import mx.effects.easing.*;
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文