Posted By

Empreintes on 10/18/10


Tagged

color


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

sexyflash
weavermedia
letmein_xxi


get a random color


 / Published in: ActionScript 3
 

return a random color

  1. public static function getRandomColor():uint{
  2. var color:uint = Math.random()*0xFFFFFF;
  3. return color;
  4. }

Report this snippet  

You need to login to post a comment.