topical media & game development
#graphic-flex-image-effects-07-source-aether-effects-filters-TintEffect.ax
#graphic-flex-image-effects-07-source-aether-effects-filters-TintEffect.ax
[swf]
[flash]
flex
package aether.effects.filters {
public class @ax-graphic-flex-image-effects-07-source-aether-effects-filters-TintEffect extends ColorMatrixEffect {
public function @ax-graphic-flex-image-effects-07-source-aether-effects-filters-TintEffect(tint:uint, blendMode:String=null, alpha:Number=1) {
var matrix:Array = [
(tint>>16&0xFF)/0xFF, .59, .11, 0, 0,
(tint>>8&0xFF)/0xFF, .59, .11, 0, 0,
(tint&0xFF)/0xFF, .59, .11, 0, 0,
0, 0, 0, 1, 0
];
super(matrix, blendMode, alpha);
}
}
}
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.