SWiSH Player Support
SWF5 or later - Not Supported (Use File | Test | Browser/Player)
Syntax
colorObject.setRGB(0xRRGGBB);
Arguments
0xRRGGBB; defines either the hexadecimal or Red/Green/Blue color to be set. RR, GG, and BB need to be two hexidecimal digits each. 0x tells the script that the number is hexidecimal.
Returns
Nothing.
Description
Method; defines the RGB color for the specified Color Object.
Sample
onLoad () {
myColor = new Color(mySprite);
myColor.setRGB(0xFF6600);
}
// sets the color object to a value of Red=255, Green=102, Blue=0 or #FF6600 (Orange)