Flash training: Setting the brightness in the ColorMatrixFilter with ActionScript.

Home Food Mates • Members Tutorials Forum Buy Templates Contact Us 

 


Flash Tutorials

   

Color Matrix Filter with ActionScript

 

Free Flash Tutorial


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

 

Step Seven: Matrix Settings - Brightness

Try to add or subtract a little of everything:


Brightness increased .

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

 


Brightness reduced.

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

I hope you have found this useful. If so perhaps you could recommend this site to others and link to webwasp!

 

Please indicate what you thought of this tutorial 
10 is the best: 
10 9 8 7 6 5 4 3 2 1

         

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


Webwasp Community: Webwasp Mates & Dates

Why not try out webwasp's new community. Meet new people, find friends in your area: Webwasp Mates & Dates

7795 visitors to this page since 2 April 07 •

 Top of Page Home Food Mates Members Tutorials Forum Buy Templates 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.