我应该如何在 Flash Builder 中使用 .as3proj 文件?

发布于 2024-11-17 08:05:17 字数 226 浏览 3 评论 0原文

事情是,我必须在工作中做一些修改,但我从未使用过Flashdevelop,只使用过Flash Builder。

然而,我需要修改的项目是用Flashdevelop制作的,它带有一个.as3文件,任何地方都没有fla文件。

那么,我需要做什么才能在 Flash Builder 中使用这个项目?只需创建一个新项目并使用 src .as 文件浏览路径文件就足够了?还是我需要做其他事情?

谢谢!

thing is, I have to do some modifications at my work, but I never used Flashdevelop, only Flash Builder.

However, the project I need to modify was made with Flashdevelop, it comes with a .as3file, no fla file anywhere.

So, what do I need to do in order to use this project in Flash Builder?, just creating a new project and browsing the path file with the src .as files is enough?, or do I need to do something else?

Thx!

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

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

发布评论

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

评论(2

潇烟暮雨 2024-11-24 08:05:17

我不希望您能够在 Flash Builder 中重用 FlashDevelop 项目。但是,您没有理由不能在 Flash Builder 项目中使用在 FlashDevelop 中死记硬背的相同 ActionScript 文件。您可以尝试多种方法来做到这一点。我首先创建一个 Flash Builder 项目。然后您可以:

  1. 复制代码
    FlashDevelop 项目到您的 Flash 中
    Builder项目的源目录
  2. 创建映射源目录
    在 Flash Builder 中指向
    FlashDevelop 项目的源代码。
  3. 将您的通用代码封装成
    Flash Builder 库项目和
    创建一个可以使用的 SWC
    在 Flash Builder 项目中和
    FlashDevelop 项目。 [注:我
    假设FlashDevelop还提供了
    创建 SWC 的方法]。

我还要指出,fla 是 Fl​​ash Professional 的文件格式;据我所知,Flash Builder 不支持该功能。

I do not expect you'd be able to reuse a FlashDevelop project within Flash Builder. However, there is no reason you can't use the same ActionScript files that youw rote in FlashDevelop in a Flash Builder project. There are plenty of ways you may try to do this. I'd start by creating a Flash Builder project. Then you can:

  1. Copy the code from your
    FlashDevelop project into your Flash
    Builder project's source directory
  2. Create a mapped source directory
    in Flash Builder that points to the
    source of your FlashDevelop project.
  3. Encapsulate your common code into a
    Flash Builder Library Project and
    create a SWC which can then be used
    in the Flash Builder project and the
    FlashDevelop project. [Note: I
    assume FlashDevelop also provides a
    way to create SWCs].

I'll also note that fla is the file format for Flash Professional; and is not supported by Flash Builder--so far as I know.

乄_柒ぐ汐 2024-11-24 08:05:17

您需要做的就是创建一个新的 Flash 构建器项目并将代码放入 src 文件夹中并从那里获取它。

这是最简单的选择,也是我会做的。这是两个不同的开发环境,您并不真的想从 flashdevelop 项目文件夹导入代码:而是将该文件夹复制到新位置,正如我上面所说,在那里创建一个新项目。

当然,问问自己是否需要使用两个不同的程序。我曾经使用Flashdevelop很多年,但现在我只使用Flashbuilder。选择一个,您会发现事情变得更容易。

托马斯

All you need to do is to create a new Flash builder project and drop your code in the src folder and take it from there.

That is the simplest option and what I would do. These are two different development environments and you don't really want to import the code from your flashdevelop project folder: instead duplicate that folder in a new location and as I just said above create a new project there.

And of course, ask yourself if you need to work with two different programs. I used to use Flashdevelop for many years but now I use Flashbuilder only. Go with one and you will find things easier.

Thomas

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