AS3 Tint MovieClip
Here is how to tint a MovieClip in Flash via AS3.
Below is an example of randomly changing a MovieClip's tint with ActionScript 3
var c:Color = new Color(); //Create a color object
c.setTint(Math.random() * 0xffffff, 1); //Set tint to a random color
mcObject.transform.colorTransform = c; //Apply tint to your MovieClip
Below is an example of randomly changing a MovieClip's tint with ActionScript 3



I get this error along with two others:
Warning: 1060: Migration issue: The method Color is no longer supported. The Color class has been removed. Use the flash.geom.ColorTransform class for equivalent functionality..
Reply to this