Turn: What every Flash developer should know

Source: Internet
Author: User
Tags version control system
Document directory
  • 1. Elastic runway model
  • 2. FlexSDK, mxmlc, compc...
  • 3. Player events, custom events, and event bubbles
  • 4. Statements, keywords, and commands
  • 5. ASDoc
  • 6. Manage visual resources (images, fonts, CSS, etc)
  • 7. Understanding Array, Collection, Dictionary, and Map
  • 8. Process actions programmatically
  • 9. Rational Use of OOP, coding and framework
  • 10. Version Control

 

10 things that Flash developers need to know

Http://www.infoq.com/cn/news/2010/02/Flash-ten-things

 

1. Elastic runway model

Developers should know when an event is triggered, when the code is executed, and when the Player is rendered. This is the basic concept of Flash Player that every Flash developer must master.

Additional reading

Http://www.craftymind.com/2008/04/18/updated-elastic-racetrack-for-flash-9-and-avm2/

2. FlexSDK, mxmlc, compc...

Developers should know what happened when they clicked the "run" button in Eclipse.

Additional reading

Http://www.senocular.com/flash/tutorials/as3withmxmlc/

Http://livedocs.adobe.com/flex/3/html/help.html? Contentpaiapparch_08.html

3. Player events, custom events, and event bubbles

Flash Player without Frame or mouse clicking cannot be imagined.

Additional reading

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. Statements, keywords, and commands

Developers should not be surprised by the new keywords in as3. If you do not know what "static" or "override" means, you can do it.

Additional reading

Http://livedocs.adobe.com/flex/2/langref/statements.html

5. ASDoc

In the future, when you read your own code again, you may not be able to understand what you are writing. Therefore, it is necessary to properly document the code, but if it can be automatically generated, isn't it beautiful?

Additional reading

Http://livedocs.adobe.com/flex/3/html/help.html? Content=asdoc_3.html

6. Manage visual resources (images, fonts, CSS, etc)

Flash is a visualization, so it is necessary to understand the management methods of code and resources.

Additional reading

Http://www.gskinner.com/talks/flexlovesflash/

Http://code.google.com/p/queueloader-as3/

Http://code.google.com/p/bulk-loader/

7. Understanding Array, Collection, Dictionary, and Map

Generally, developers do not only process one MovieClip, so they need to know how to control multiple objects.

Additional reading

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. Process actions programmatically

If you only want to do static things, it is better to use HTML.

Additional reading

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. Rational Use of OOP, coding and framework

Today, an era of huge. as files has passed. Developers need to transfer code to well-organized and reusable objects. Currently, the AS3 framework is emerging one after another. Rational Use of the framework facilitates code management.

Additional reading

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. Version Control

Unless the code is meaningless, developers need to learn a version control system and apply it to the project as soon as possible.

Additional reading

Http://tortoisesvn.net/downloads

Http://versionsapp.com/

Http://en.wikipedia.org/wiki/Revision_control

Http://git-scm.com/

Http://www.nongnu.org/cvs/

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.