World Library  

QR link for Actionscript Coding Standards
Add to Book Shelf
Flag as Inappropriate
Email this Book

Actionscript Coding Standards

By Williams, Michael

Click here to view

Book Id: WPLBN0000702098
Format Type: PDF eBook
File Size: 713.8 KB.
Reproduction Date: 2007
Full Text

Title: Actionscript Coding Standards  
Author: Williams, Michael
Language: English
Subject: Technical manuals, Manual, Technology
Collections: eBooks and Manuals Collection
Publication Date:


APA MLA Chicago

Williams, M. (n.d.). Actionscript Coding Standards. Retrieved from

Excerpt: Macromedia Flash applications have generally been built without regard to particular standards or guidelines. While this flexibility allows for a wide variety of solutions to a problem, it also makes it difficult for anyone other than the author of an application to understand the code. Even the author may have difficulty reading his or her own code after it is written. If a developer cannot understand the code in an application, it will not be easy to debug the code, make changes, or reuse the application. This documents outlines a system of best practices specifically designed for coding with ActionScript and building applications with Macromedia Flash. Applications that use these guidelines should be more efficient and understandable-and the underlying ActionScript code will be easy to debug and reuse.

Table of Contents
Table of Contents: Style, 1 -- Naming Guidelines, 1 -- Commenting Code, 3 -- Timeline Layout, 4 -- Scope, 4 -- Scope Variables Using Relative Addressing, 5 -- _Root Vs. _Global, 5 -- Actionscript Conventions, 5 -- Keep Actions Together, 5 -- Use #Include .As Files, 6 -- Frames As Application States, 7 -- Avoid Attaching Code to Movie Clips Or Buttons, 7 -- Initialization, 7 -- Use Var for Local Variables, 8 -- Creating Objects, 9 -- Object Inheritance, 10 -- Performance, 11 -- Preloading, 11 -- Swf Data Types and Sizes, 11 -- Memory Usage Precautions, 12 -- Conclusion, 12


Copyright © World Library Foundation. All rights reserved. eBooks from World Journals, Database of Academic Research Journals are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.