Return to Snippet

Revision: 39720
at January 20, 2011 03:35 by adrianparr


Initial Code
var ct:ColorTransform = new ColorTransform();
ct.color = (Math.random() * 0xFFFFFF);
box_mc.transform.colorTransform = ct;

Initial URL

                                

Initial Description

                                

Initial Title
AS3 Setting Colour of DisplayObject using ColorTransform

Initial Tags
color

Initial Language
ActionScript 3