Flash training: Learn to use the ColorMatrixFilter settings with ActionScript.

Home • Members Tutorials Forum iSnapChat Contact Us 


Flash Tutorials


Color Matrix Filter with ActionScript


Free Flash Tutorial

Step 3    <<   Previous      Intro   1   2   3   4   5   6   7     Next   >>      


Step Three: Color Matrix Filter Settings

In this section detailed information is given on each of the Color Matrix Filter settings. I will first explain what each line does and then go through how to set each of the individual settings. This will enable you to set and edit the Filter correctly. This is done with the Matrix section of code:

[2,0,0,0,0,   /* Red */
 0,1,0,0,0,   /* Green */
 0,0,2,0,0,   /* Blue */
 0,0,0,1,0 ]; /* Alpha Transparency */

You use the matrix to manipulate colors in Flash. The default setting is:

The default setting will have no effect on your image!

See how the RGB (Red, Green Blue) settings change the images color. Click on the Flash Movie below and move your Mouse cursor over the image:

Example: Download the Flash file Draw 218b

Matrix values change as your Mouse moves over: Click and move you mouse.


Step 3    <<   Previous      Intro   1   2   3   4   5   6   7     Next   >>      

34742 visitors to this page since 2 April 07 •

Phil Schulz's Facebook Profile
Webwasp is Phil Schulz's baby. You are welcome to contact me or become my Facebook friend: Click here

 Top of Page HomeMembers Tutorials Forum iSnapChat Contact Us 
 All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.