/ Published in: ActionScript 3
return a random color
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public static function getRandomColor():uint{ var color:uint = Math.random()*0xFFFFFF; return color; }