Posted By

adrianparr on 01/20/11


colour color transform as3 tint ColorTransform

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


AS3 Setting Colour of DisplayObject using ColorTransform

 / Published in: ActionScript 3

  1. var ct:ColorTransform = new ColorTransform();
  2. ct.color = (Math.random() * 0xFFFFFF);
  3. box_mc.transform.colorTransform = ct;

Report this snippet  

You need to login to post a comment.