ActionScript is the scripting language used by Macromedia Flash. It makes your Flash content interactive. ActionScript provides a more efficient way to do things in Flash, from creating simple animations...
Convolution Matrix Flash 8 introduces some very powerful tools for manipulating bitmaps at the pixel level. Included in this list of tools is flash.filters.ConvolutionFilter. ConvolutionFilter combines pixel data in a...
Color Matrix You can use matrices to manipulate colors in Flash. Before Flash 8, the only way you could manipulate colors was by varying the red, green, and blue channel...
Transformation Matrix The logical place to start the discussion on matrices is with the class flash.geom.Matrix. As I mentioned in the previous section, the class name Matrix is misleading because...
Defining the Matrix Wikipedia defines a matrix as "a rectangular table of numbers or, more generally, of elements of a ring-like algebraic structure." Essentially, a matrix in Flash is exactly...
Using Matrices for Transformations, Color Adjustments, and Convolution Effects in FlashFor most Flash developers, the word "matrix" evokes images of red and blue pills, computer-generated worlds, and Keanu Reeves in...
Formatting ActionScript Syntax Formatting ActionScript 2.0 code in a standardized way is essential to writing maintainable code, and it's easier for other developers to understand and modify. For example, it...
ActionScript and Flash Player Optimization If you compile a SWF file that contains ActionScript 2.0 with publish settings set to Flash Player 6 and ActionScript 1.0, your code functions as...
ActionScript Coding Conventions One of the most important aspects about programming is consistency, whether it relates to variable naming schemes, formatting code, or coding standards and the placement of your...
Using Comments in Your Code This section describes how to use comments in your code. Comments document the decisions you make in the code, answering both how and why. For...
Naming Conventions Typically, you spend 80% of your development time debugging, troubleshooting, and practicing general maintenance, especially on larger projects. Even when you work on small projects, you'll spend a...
ActionScript 2.0 Best PracticesActionScript coding conventions are very important for Macromedia Flash designers and developers to ensure that code and applications are structured in a way that is intuitive and...