2012-06-19 39 views

回答

2

ColorTransform指定。

// some displayobject 
var someDisplayObject:DisplayObject = topLayer; 

// tint to white 100% 
someDisplayObject.transform.colorTransform = new ColorTransform(1,1,1,1,255,255,255,0); 

// tint to black 100% 
someDisplayObject.transform.colorTransform = new ColorTransform(0,0,0,1);