寻找有关使用 FLASH CS3 进行 Actionscript [OO] 编程的教程

发布于 2024-08-29 10:32:21 字数 93 浏览 10 评论 0原文

我正在寻找不仅解释 Actionscript 语法,而且解释如何使用 Flash CS3 创建项目(如何创建项目、添加新文件(类)等)的教程。

感谢您的帮助

I am searching for tutorials that explain not only the syntax of Actionscript, but also how i use Flash CS3 for creating my projects (how to create the project, add new as files (classes), etc.).

Thanks for your help

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

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

发布评论

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

评论(1

嘦怹 2024-09-05 10:32:21

senoptic 有一个非常好的介绍
除此之外,请访问“学习flash”。您会找到所需的任何信息,特别是在 ActionScript 3 部分

这是我个人的建议:

  1. 如果 Flash CS3 已关闭,请跳至步骤 3。
    • 关闭 Flash CS3
    • 您对绘画或动画感兴趣吗?如果是,请跳至步骤 5。
    • 卸载 Flash CS3 ;-)
    • 下载Flex SDK并解压到一个方便的位置。
    • 如果在 Windows 上,请安装 FlashDevelop(如果已打开) Mac,您可能想尝试相应的 TextMate 捆绑包(如果没有的话,还有 TextMate)。除此之外,我个人建议使用 Windows 虚拟化并让 FlashDevelop 运行(我的一个朋友在 ubuntu 上使用 VMWare 和 Windows XP,并且工作得很好)。如果您愿意花钱或者有资格获得免费许可证,您不妨看看 FDT 和 Flex Builder。尽管它们是商业工具并且与 eclipse 集成得很好,但在编码舒适度方面它们远远落后于 FlashDevelop。
    • 享受吧:-)

不,但是认真的。为什么不是CS3?嗯,只是因为我的目标不是开发人员,而是设计师和其他有创造力的人。他们的编译器很慢并且非常迟缓。 Flash CS3 提倡对设计人员友好的概念。它的自动完成功能非常糟糕。它缺乏您在任何 IDE 中都能找到的最基本的快捷方式。如果工具可以让你成为一个糟糕的程序员,那么 Flash CS3 就是其中之一(尽管 Flash 8 和之前的版本要糟糕得多)。此外,Flash CS3 在.fla 项目文件中存储了大量信息,这些信息是二进制的且专有的,因此它与其他开发工具甚至版本控制系统的集成非常差。

像 FlashDevelop 这样的 IDE 是为程序员设计的。如果您打开FlashDevelop,您将花费不超过10秒的时间来弄清楚如何创建一个新项目。添加新文件也同样显而易见。不仅更简单,而且FlashDevelop已经为你提供了类的外部结构,而Flash CS3让你创建一个空文件并一次又一次地编写大量枯燥且冗余的代码。 Flash CS3 是一个强大的工具,非常适合绘图和设计,但您不应该将其用于编程。许多闪存开发人员使用 CS3 进行设计,使用第 3 方 IDE 或 Flex Builder 进行编码。

如果您选择的是 FlashDevelop,那么请查看社区 wiki,尤其是“获取开始”和解释如何将 FlashDevelop 与 AS3 结合使用的部分。另请参阅这篇精彩文章

there is a very nice introduction by senocular.
other than that, please go to "learn flash". you'll find about anything you need, especially in the ActionScript 3 section.

here is my personal advice:

  1. if Flash CS3 is closed, skip to step 3.
    • close Flash CS3
    • are you interested in drawing or animating? if yes, skip to step 5.
    • uninstall Flash CS3 ;-)
    • download the Flex SDK and unzip into a convenient location.
    • if on Windows, install FlashDevelop, if on Mac, you may wanna try the according TextMate bundles (and TextMate if you don't have it). Other than that, I personally suggest a Windows virtualization and to get FlashDevelop to run (a friend of mine uses VMWare with windows XP on ubuntu and it works just fine). If you're willing to spend money or if you qualify for a free license, you might as well wanna check out FDT and Flex Builder. Although they are commercial tools and integrate nicely with eclipse, they are way behind FlashDevelop when it comes to coding comfort.
    • enjoy :-)

No, but seriously. Why not CS3? Well, simply because i is not targetting developers, but designers and other creative people. They compiler is slow and very sluggish. Flash CS3 promotes concepts, that are designer friendly. Its autocompletion is more then poor. It lacks the most basic shortcuts you'll find in any IDE. If tools can make you a bad programmer, than Flash CS3 is one of them (although Flash 8 and verions before were signifficantly worse). Also Flash CS3 stores a lot of information in the .fla project files, which is binary and propriatery, so it integrates very poorly with other developement tools and even version control systems.

IDEs like FlashDevelop are made for programmers. If you open FlashDevelop, it will take you no longer than 10 seconds to figure out, how to create a new project. Adding new files is just about as obvious. Not only is it simpler, but FlashDevelop will already provide you with the outer structure of the class, while Flash CS3 lets you create an empty file and write a lot of boring and redundant code again and again. Flash CS3 is a potent tool and great for drawing and design, but you shouldn't use it for programming. Many flash developers use CS3 for design and a 3rd party IDE or Flex Builder for coding.

If it is FlashDevelop you choose, then please check out the community wiki, especially "Getting started" and the section explaining how to use FlashDevelop with AS3. Also please see this great article.

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