Posted By

shuchii on 01/10/11


Tagged

color change movieclip as3


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

kure69


MovieClip Color Change


 / Published in: ActionScript 3
 

URL: http://www.jesseharding.com/blog/2008/03/31/change-a-movie-clips-color-using-actionscript-3/

Changing the color of a MovieClip.

  1. import flash.geom.ColorTransform;
  2.  
  3. var ct:ColorTransform = targetMC.transform.colorTransform;
  4. ct.color = 0�336699;
  5. targetMC.transform.colorTransform = ct;

Report this snippet  

You need to login to post a comment.