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

Home • Members Tutorials Forum iSnapChat Contact Us 

 


Flash Tutorials

   

Color Matrix Filter with ActionScript

 

Free Flash Tutorial


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

 

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    >>      


33369 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.