In: Flash
19 Feb 2010http://www.infoq.com/cn/news/2010/02/Flash-ten-things
作者 张龙 发布于 2010年2月18日 上午7时19分
此前,我们发布的新闻谈到了每个Flex开发者需要知道的10件事,本文将继续这个主题,谈谈每个Flash开发者需要知道的10件事。
近日John Lindquist谈到了在为Roundarch公司招聘Flash/Flex开发人员时的一些感受。他认为最难的地方在于问什么问题才能最好地了解到应聘者的Flash/Flex开发技能。因此,他给出了一个列表并说到:“根据我的经验,通过这个列表能更好地判断面试者的技术水平和经验”。
本文就将概要地介绍Flash开发者需要知道的10件事并给出进一步阅读的链接。
1. 弹性“跑道“模型
开发者应该知道事件何时被触发,代码何时被执行,Player何时进行渲染,这是每个Flash开发者都需要掌握的Flash Player基础概念。
延伸阅读
http://www.craftymind.com/2008/04/18/updated-elastic-racetrack-for-flash-9-and-avm2/
2. FlexSDK、mxmlc、compc…
开发者应该知道在点击Eclipse中的“run”按钮时都发生了哪些事情。
延伸阅读
http://www.senocular.com/flash/tutorials/as3withmxmlc/
http://livedocs.adobe.com/flex/3/html/help.html?content=apparch_08.html
3. Player事件、客户化事件以及事件冒泡
没有帧(Frame)和鼠标点击的Flash Player是无法想象的。
延伸阅读
http://www.adobe.com/devnet/actionscript/articles/event_handling_as3_03.html
http://livedocs.adobe.com/flex/3/langref/flash/events/package-detail.html
http://www.tink.ws/blog/custom-events-in-as-30-dont-forget-to-override-the-clone-method/
http://jacwright.com/blog/70/how-to-listen-to-flash-events-that-dont-bubble/
4. 语句、关键字和指令
开发者不应该对AS3中新出现的关键字感到惊讶。如果不知道“static”或是“override”是什么意思,学就行了。
延伸阅读
http://livedocs.adobe.com/flex/2/langref/statements.html
5. ASDoc
今后当你再一次阅读自己编写的代码时可能看不懂写的是什么了,因此恰当的文档是非常必要的,但如果能自动生成岂不美哉?
延伸阅读
http://livedocs.adobe.com/flex/3/html/help.html?content=asdoc_3.html
6. 管理好可视化资源(图片、字体、CSS等等)
Flash是可视化的东西,因此有必要了解代码与资源的管理手段。
延伸阅读
http://www.gskinner.com/talks/flexlovesflash/
http://code.google.com/p/queueloader-as3/
http://code.google.com/p/bulk-loader/
7. 理解Array、Collection、Dictionary与Map
通常开发者不会只处理一个MovieClip,因此需要了解如何控制多个对象。
延伸阅读
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/Array.html
http://www.gskinner.com/blog/archives/2006/07/as3_dictionary.html
http://code.google.com/p/as3ds/
8. 以编程的方式处理动作
如果只搞静态的东西还不如使用HTML呢。
延伸阅读
http://blog.greensock.com/tweenmaxas3/
http://www.amazon.com/Foundation-Actionscript-3-0-Animation-Making/dp/1590597915/ref=sr_1_1?ie=UTF8&s=books&qid=1243014431&sr=8-1
9. OOP、编码与框架的合理使用
时至今日,一个巨大的.as文件闯天下的时代已经过去了。开发者需要将代码转到组织良好、可重用的对象中。现在的AS3框架也层出不穷,合理地使用框架有助于代码的管理。
延伸阅读
http://www.adobe.com/devnet/actionscript/articles/oop_as3.html
http://www.actionscript.org/resources/articles/684/1/Object-Oriented-Programming-in-AS3/Page1.html
10. 版本控制
除非觉得代码毫无价值,否则开发者需要立刻学习一种版本控制系统并尽快应用到项目中去。
延伸阅读
http://tortoisesvn.net/downloads
http://versionsapp.com/
http://en.wikipedia.org/wiki/Revision_control
http://git-scm.com/
http://www.nongnu.org/cvs/
是否看到了首页右上角的时钟?首先你要找一个透明的 Flash 文件,然后将下面代码贴到你的博客中即可了。将里面的1.swf替换为你的 Flash 的文件名。
In: Flash
22 Mar 2009This article covers areas of AS3 that are different from C/C++ in regards to functional issues that may be interesting to people with C/C++ experience. ActionScript 3 is a powerful language with some very nice features. However, as a long time C/C++ coder I found ActionScript lacking things I was used to having.
In: Flash
22 Mar 2009This article covers aspects of ActionScript 3 that would be helpful to C/C++ application engineers transitioning to application development in Flex and Flash.
In: Flash
15 Mar 2009http://www.klstudio.com/post/129.html
【教程说明】:应云开等朋友的要求,我今天把组件开发过程整理一下,写成这篇教程。通过此篇教程你可以大致了解Flash组件开发整个过程,希望对那些想自己开发Flash组件的朋友有所帮助。我这次主要开发Flash代码组件,甚至其他Flash组件,你可以自行研究或和我一起讨论。
In: Flash
15 Mar 2009目前据我所知,Flash与后台数据交互共有下列几种方法(如果你觉得不全,你可告知一下,我会添加上去了):
1.LoadVars(XML)
2.Flash Remoting
3.Webservice
4.XMLSocket
This is the blog affiliated with derekzhang.com. We discuss Graphic Design, Information Technologies, and everything interests me.
Today |
|
|---|---|
|
|
|
|
Yesterday |
|
|
|
September 6th |
|
|
|
September 4th |
|
|
Created R&B / Soul
|
September 2nd |
|
|
|
|
|
September 1st |
|
|
|
August 31st |
|
|
|
|
|
August 30th |
|
|
|
August 29th |
|
|
Shared New York 5th Ave Rooftop
|
August 27th |
|
|
|
August 26th |
|
|
|
|
Posted Giveaway: iPhone Stickers
|
August 25th |
|
|
|
|
|
August 24th |
|
|
|
August 23rd |
|
|
Posted Theme Trust Launches
|
|
|
August 20th |
|
|
|
|
|
|
Shared New York!
|
August 19th |
|
|
|
|
Shared Portrait 2010
|
August 18th |
|
|
Posted CSS3 Media Queries
|
|
|
|
|
August 17th |
|
|
|
|
|
August 16th |
|
|
|
|
|
|
Shared DSC_0860
|
August 14th |
|
|
|
August 13th |
|
|
|
August 12th |
|
|
|
August 11th |
|
|
Posted Themify Launched
|
|
|
|
|
August 10th |
|
|
|
August 9th |
|
|
|
Powered by LifeStream from iBegin.