|
||||||
|
||||||
Color Matrix Filter with ActionScript

Free
Flash Tutorial
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 >> |
Why not try out webwasp's new community. Meet new people, find friends in your area: Webwasp Mates & Dates
•
7806 visitors to this page since
2 April 07 •
|
|
|
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.
|