Accessibility

Flash Article

 

Using Matrices for Transformations, Color Adjustments, and Convolution Effects in Flash


Phil Chung

Phil Chung

www.gskinner.com

Table of Contents

Created:
9 January 2006
User Level:
Advanced

For most Flash developers, the word "matrix" evokes images of red and blue pills, computer-generated worlds, and Keanu Reeves in black leather pants. Let's try to remove ourselves from that definition—and the mental images associated with it—and answer the following question from a Flash perspective: What is the matrix, and what in the world does it have to do with Flash?

If you have a computer science degree or some type of formal programming education, the concept of matrices is likely old hat to you. However, if your education is of a somewhat less formal nature, you may feel intimidated by the whole idea. The goal of this article is to introduce you to the concept of matrices and then apply that knowledge directly to the world of Flash. Along the way, I'll provide examples of how the different matrix types can be useful to beginner and advanced Flash developers alike.

Requirements

To complete this tutorial you will need to install the following software and files:

Flash Professional 8

Sample files:

Prerequisite Knowledge

A basic understanding of programming and ActionScript 2.0.

About the author

Phil Chung is a senior developer at gskinner.com. He has been involved in the world of Flash for the past six years. From teaching to consulting to good old-fashioned development, Phil has traveled far on this journey of all things Flash and enjoyed every minute of it.