问题描述
类似的问题:http://stackoverflow.com/questions/92602/best-resources-for-learning-as3
我感兴趣的学习AS3和下载的FlashDevelop并与它起到了一下周围,学习一些基本情况。然而,当我尝试启动任何相对简单的项目(如多页文档),我得到完全丧失,而且不知道我应该怎么建我的项目。是否有任何的资源,教程,食谱等,教动作3至示例项目。我一直在寻找书籍,讲解动作语法或教程,介绍如何使用ActionScript来完成在Flash IDE任务的基础,但是这不是我后。
I am interested in learning AS3 and have downloaded FlashDevelop and played around with it a bit, learning some of the fundamentals. However, when I attempt to start on any relatively simple project (eg. a multipage document) I get completely lost and have no idea how I should build my project. Are there any resources, tutorials, 'cookbooks' etc. that teach actionscript 3 through example projects. I keep finding books that explain the fundamentals of the actionscript syntax or tutorials that explain how to use actionscript to complete a task in the Flash IDE but this is not what I am after.
我在哪里可以学习如何在纯AS3项目不使用闪光灯的IDE或Flex的帮助?我不介意,如果我要创建在Flash IDE的资产,我再编译成.SWF或为名为.swc在我的动作code使用。
Where can I learn how to create projects in pure AS3 without the aid of the Flash IDE or Flex? I don't mind if I have to create assets in the Flash IDE that I then compile to .swf or .swc for use in my actionscript code.
推荐答案
我的建议是:学习Flex的强烈专注于MXML,或学习haXe的
My advice is: learn Flex focusing strongly on MXML, or learn haXe.
AS3是verbous,UNEX pressive和非生产性相比,这两个。
AS3 is verbous, unexpressive and unproductive compared to those two.
编辑::您可以检查出 AS3食谱。尽管如此,重读您的文章后,我终于明白,你的问题是不是学习AS3,但你宁愿有设计问题。我是正确?
edit: you can check out the AS3 cookbook. nonetheless, after rereading your post, I've come to understand, that your problem is not learning AS3, but you're rather having design problems. Am I correct?
EDIT2: 是罕见的人们在纯AS3工作吗?的
我不会说,这是罕见的。我会说这是连普通的,即一个常见的错误。为什么?这是低效的。我想,我可以告诉,因为我做了很多。
I wouldn't say, it's uncommon. I'd say it's even common, i.e. a common mistake. Why? It's inefficient. I think, I can tell, because I did that a lot.
纯AS3的主要作用是创建库和框架。要创建实际的应用程序,它是真正可以选择的最困难的方式。在全手工制作的应用程序,桂真可谓是最耗时的部分。铺设使用code GUI是一场噩梦。
the main role of pure AS3 is to create libraries and frameworks. To create actual apps, it is really the hardest way one can choose. In all handmade apps, GUI turns out to be the most time consuming part. Laying out GUI using code is a nightmare.
现在MXML实在是太棒了正常的GUI(图形编辑器,甚至更好,当然)。和Flash IDE是伟大创造时髦活泼的东西。你可以用AS3最好的办法是采取AsWing是和他们的图形用户界面编辑器。像你一样AsWing的是,它的丑陋的屁股皮肤疼痛。但是,就可以了。
Now MXML is really great for normal GUIs (a graphical editor is even better of course). And the Flash IDE is great for creating funky animated things. The best thing you can do with AS3 is take ASWing and their GUI-editor. As nice as ASWing is, its ugly and a pain in the arse to skin. But, you can.
haXe的的优点在于,它的一个更强大的语言比AS3。您有效地编写更少code,其signifficantly多类型安全,所以你遇到更少的错误,少花时间调试。此外,另一个好处是,你可以使用相同的语言,用于创建一个服务器端后端的应用程序,并透明地传递对象给它,使用haXe的远程,这减少了传输层下降到什么。所有的验证和业务逻辑可以在客户端或服务器上同时运行。再加上它是开源的,它的发展速度非常快。 AS3是一个伟大的事情,当它来了,但它已经停滞eversince,也就是现在的近4年。
The advantage of haXe is, that its a more powerful language than AS3. You effectively write less code, and its signifficantly more typesafe, so you run into less errors and spend less time debugging. Also, another advantage is, that you can use the same language for creating a serverside backend for the app and pass objects transparently to it, using haXe remoting, which cuts the transport layer down to nothing. All validation and business logic can run both on client or server. Plus it's open source and it evolves very fast. AS3 was a great thing when it came, but it has stalled eversince, which is nearly 4 years now.
因此,虽然没有什么错用纯AS3本身,你总是要比较它的替代品。纯AS3是低效和爱好者。 Flex是高效。 haXe的比AS3更有效率,并且是真正酷爱好者。
So while there's nothing wrong using pure AS3 per se, you always have to compare it to the alternatives. Pure AS3 is inefficient and for geeks. Flex is highly efficient. haXe is more efficient than AS3, and is for the really cool geeks.
这篇关于学习纯AS3资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!