理论上您可以使用 Actionscript 3.0 仅通过代码制作 Flash 应用程序吗?
我正在尝试创建一个网站,允许您 A) 在线编辑 FLA 文件和 B) 导出为 SWF。如果用户在网络上所做的一切都被翻译成代码,那么在服务器上会更容易。是否可以仅用代码制作 Adobe 应用程序?如果 AS2 也是如此(或者我什至不应该打扰)?这合法吗?为什么或为什么不回答所有这些问题?感谢您的帮助!我很感激你的帮助。
PS 什么编程语言最适合这种网站?客户端方面和服务器方面。再次感谢!
I'm trying to make a website that allows you to A) Edit FLA files online and B) Export to SWF. It would be easier on a server if everything the user did on the web, it was translated into code. Is it possible to make an Adobe App in just code? And if this is true for AS2 (or should I not even bother)? And is that even legal? Why or why not for all these questions? Thanks for helping! I appreciate your helpfulness.
P.S. What programming language would be best for this kind of website? Client-wise and server-wise. Thanks again!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
SFWMill 到 Haxe 的移植还不是 SWF 格式的完整实现,但它是足够接近。这将允许您创建一个在线独立资产编译器,没有后端要求。它是Haxe语言,但是Haxe在很多方面与AS非常相似。
FLA 是一种专有格式,这意味着即使您知道它的结构,反转它也可能会导致法律问题。此外,你为什么要为自己做这个?我想象一种旧的专有格式有各种补丁,各种不规则之处等等......只需使用易于编辑的内容即可。
AS2 已经有几年没有开发了。它尚未正式停止,但该语言和运行时不再接受任何错误。当你用 AS2 写作时,你几乎是在对意大利人说拉丁语。
关于ActionScript的在线编译:有一个hurlant写的在线编译器。它的行为可能并不总是与 Adobe 编译器相同。
还有其他工具可用于编译为 AVM 字节码,特别是 http://haxe.org/com/ libs/format/abc 和 http://www.as3commons.org/as3-commons-bytecode/index.html。
A port of SFWMill to Haxe is not yet a complete implementation of SWF format, but it is close enough. This would allow you to create an online standalone assets compiler, with no back-end requirement. It is in Haxe language, but Haxe is very similar to AS in many aspects.
FLA is a proprietary format, meaning that even if you knew it's structure, reversing it may cause legal problems. Besides, why would you want that for yourself? I'd imagine an old proprietary format having all sorts of patches, irregularities of kinds etc... just go with something that is easy for you to edit.
AS2 is not being worked on for a few years now. It's not officially discontinued, but no bugs are accepted for that language and runtimes any more. When you write in AS2, you are pretty much speaking Latin to Italians.
Regarding online compilation of ActionScript: There is an online compiler written by hurlant. It may not always act the same as Adobe compilers do.
There are other tools for compiling to AVM bytecode, specifically, http://haxe.org/com/libs/format/abc and http://www.as3commons.org/as3-commons-bytecode/index.html.
是的,你可以。 AFAIK,像 wonderfl.net 这样的网站使用 适用于 Apache/IIS 的 Flex 模块(指向页面底部的链接)。该模块允许服务器将.as 文件编译为swf 文件。
您需要了解二进制格式(.fla)如何存储数据,并且我认为 fla 格式没有任何可用的规范。您必须对格式进行逆向工程。最重要的是,您需要创建一个界面来模拟修改 FLA 所需的功能。
将 .as 文件编译为服务器上的 .swf 文件可能更现实,并且这些 .as 文件将由您想要构建的此工具/应用程序生成。如果是您自己的代码,将 .as 文件编译为 .swf 时,我无法想到法律问题。
Yes you can. AFAIK, sites like wonderfl.net use the Flex Module for Apache/IIS (links towards the bottom of the page). This module allows servers to compile .as files into swf files.
You would need to understand how the binary format(.fla) stores data and I don't think there are any specifications for the fla format available. You would have to reverse engineer the format. On top of that, you would need to create an interface to mimic the functionalities you need to modify an FLA.
It's probably more realistic to compile .as files into .swf files on the server, and those .as files would be generating by this tool/app you want to build. I can't think of legal issues when compiling .as files to .swf if it's your own code.