/ Published in: ActionScript 3
return a random color
Expand |
Embed | Plain Text
public static function getRandomColor():uint{ var color:uint = Math.random()*0xFFFFFF; return color; }
You need to login to post a comment.
Empreintes on 10/18/10
3 people have marked this snippet as a favorite
sexyflash
weavermedia
letmein_xxi
return a random color
public static function getRandomColor():uint{ var color:uint = Math.random()*0xFFFFFF; return color; }
You need to login to post a comment.