允许“无需 ActionScript 编写 Flex”、“Java 到 AVM2 编译器”或“使用 Java 编写 Flex”的功能存在吗?

发布于 2024-08-16 07:21:38 字数 502 浏览 12 评论 0原文

有许多针对 Sun JVM 的动态语言(Groovy、Scala、Jython、Jruby 等),而且我确信也有许多针对 Adob​​e 的 AVM。但我惊讶地发现只有 Haxe 做了类似的事情。 本网站上的相关问题

我认为 eclipse e4 SWT 项目无法编译直接转换为 ABC(ActionScript 字节代码),但首先将 Java 转换为 AS3,然后由 Flex 编译器完成其余的工作。

难道还没有人编写一个简单的 Java / Python / Scala AVM2 编译器来替代专有的 Adob​​e Flash Builder(以前称为 Flex Builder)吗?

我不介意付钱给 Adob​​e 来购买优质产品,但在 Eclipse 中编写 Java 比半成品的 Adob​​e 插件套件要快得多、方便得多。除了Haxe真的没有其他努力吗?

There are many dynamic languages that target Sun's JVM (Groovy, Scala, Jython, Jruby etc) and I was sure there are many that target Adobe's AVM as well. But I was surprised to find only Haxe do something similiar. related question on this site

I think the eclipse e4 SWT project doesn't compile to ABC (ActionScript Byte Code) directly, but first converts Java to AS3 and then the Flex compilter does the rest.

Could it be that no one yet wrote a simple Java / Python / Scala AVM2 compiler that can be used as an alternative to the proprietary Adobe Flash Builder (formerly Flex Builder)?

I don't mind paying Adobe for a fine producy, but writing Java in Eclipse is so much faster and convinent than the half baked Adobe plugin suite. are there really no efforts other than Haxe?

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

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

发布评论

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

评论(3

时光匆匆的小流年 2024-08-23 07:21:38

我不介意向 Adob​​e 支付罚款
producy,但是在 eclipse 中编写 Java

半成品的 adobe 插件套件。

mxmlc(Flex 编译器)是免费且开源的,可作为 Flex 的一部分使用SDK。它将 ActionScript 3 编译为 swf。如果您想要一个与在 Eclipse 中编写 Java 具有相同级别支持的 IDE,那么您将需要 FDT不幸的是,它不是免费的,但远远优于 Adob​​e 的 Flex/Flash Builder。您还可以使用 Flash Develop,这是一个非常强大且免费的 Flash 开发 IDE。

AS3 本身就是一种很好的语言,可以与 Java 相媲美(尽管令人遗憾的是缺少一些较新的 Java 功能,如泛型)。因此,学习它与其说是“重新发明轮子”,不如说是为你的开发技能再添一把弓。

但是,如果您坚持要编写 Java 代码并生成 swf 文件,那么我认为 James 在上面链接的 Joa 的作品是您最好的选择。我不确定他是否已经公开发布了所有部分......

I don't mind paying Adobe for a fine
producy, but writing Java in eclipse
is so much faster and convinent than
the half baked adobe plugin suite.

mxmlc (the Flex compiler) is free and open source and available as part of the Flex SDK. It compiles actionscript 3 to swf. If you want an IDE with the same level of support as writing Java in Eclipse then you will want FDT which unfortunately isn't free but is far superior to Adobe's Flex/Flash Builder. You could also use Flash Develop which is a very capable and free IDE for flash development.

AS3 is a nice language in it's own right and can compare favorably to Java (although some newer Java features like generics are sadly missing). So learning it wouldn't be "re-inventing the wheel" so much as adding another bow to your development skills quiver.

But if you are insistent on wanting to write Java code and produce swf files then I think that Joa's work that James linked to above is your best bet. I'm not sure if he has released all the parts publicly yet though...

梦情居士 2024-08-23 07:21:38

我发现 adobe 开始做类似的事情(但对于 C++): http://labs.adobe .com/technologies/alchemy/

还有这个(C#编译器),但它似乎已经过时了:
http://blog.bluetubeinteractive.com/2005/05/c_to_swf_compil.html

并且有一个明显废弃的 Java 实现: http://osflash.org/j2as

但我仍然正在寻找可行的 Java 到 AVM2 实现...
有人吗? :)

I found out that adobe started to do something similar (but for C++): http://labs.adobe.com/technologies/alchemy/

Also this one (C# compiler) but it seems to be obsolete:
http://blog.bluetubeinteractive.com/2005/05/c_to_swf_compil.html

And there is an apparently abandoned Java Implementation: http://osflash.org/j2as

But I'm still looking for a working Java to AVM2 implementation...
Anyone? :)

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