无法将 SWC 文件添加到 Flash Builder 中的 Flex 库构建路径

发布于 2025-01-05 16:12:42 字数 358 浏览 5 评论 0原文

我正在为我的下一个项目寻找 Flash Builder。我正在遵循一些教程,但我总是陷入同一部分。我遵循的教程告诉我添加 SWC 文件(包含我的艺术作品)并且应该位于库项目中。

我可以创建库项目并将其用作我的应用程序中的参考。但是,当我尝试将 SWC 文件添加到“Flex 库构建路径”时,“确定”按钮没有任何反应。如果我尝试添加 SWC 或 SWC 文件夹,也会发生同样的情况。

我正在使用 Flash Builder 4.6(试用版),如果这有什么区别的话。下面是我正在谈论的窗口的屏幕截图,以防我不太清楚。

Flash Builder 库构建路径

I'm looking at Flash Builder for my next project. I'm following some tutorials, yet I keep getting stuck at the same part. The tutorials I am following tell me to add a SWC files (containing my art) and should be in a library project.

I can create the library project and use it as a reference in my application. However, when I try to add the SWC file to the "Flex Library Build Path" the OK button does nothing. The same happens if I try to add a SWC or SWC Folder.

I' m using Flash Builder 4.6 (trial version) if that makes any difference. Below is a screenshot of the window that I am talking about in case I'm not very clear.

Flash Builder Library Build Path

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

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

发布评论

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

评论(3

热血少△年 2025-01-12 16:12:42

这也发生在我身上。
有一个解决方法 - 只需将 SWC 放入项目的 /libs 目录中并执行 clean。那里的 SWC 将自动加载。

It has also happened to me.
There is workaround - just place SWC into /libs directory of your project and perform clean. SWCs there will be loaded automatically.

暮年慕年 2025-01-12 16:12:42

确保您已将该文件夹添加到工作区的链接资源中。在 Flash Builder 中,转到菜单 Windows >首选项>一般>工作区>链接资源,并将新的路径变量添加到组件目录。之后,可以将组件添加到项目的 Flex 库路径中。

Make sure you have added the folder to the Workspace's linked resources. In Flash Builder, go to menu Windows > Preferences > General > Workspace > Linked Resources, and add a new path variable to the component directory. After this, the component can be added to the project's Flex Library path.

冷弦 2025-01-12 16:12:42

我认为这是 flash builder 的一个错误。这也发生在我身上。而且我无法选择fb中的输出路径....

我找到了一种方法,首先删除这个项目,删除fb自己创建的除源代码之外的所有东西,然后你可以将你的fb切换到一个新的工作区,添加创建一个新项目,你会看到你现在可以添加swc文件。最后,切换回你之前使用的工作空间......

I think this is a bug of flash builder. It has also happened to me. And I can not choose the output path in fb....

I found a way, first, delete this project, delete evrey thing fb created itself except the source code, then u can swith ur fb to a new workspace, add creat a new project, u will see that u can add the swc file now.finally,switch back to the workspace u worked with before......

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文