![]() ![]() | |
Flash Player 5.
my_color.getRGB()
None.
A number that represents the RGB numeric value for the color specified.
Method; returns the numeric values set by the last setRGB() call.
The following code retrieves the RGB value for the Color object my_color, converts it to a hexadecimal string, and assigns it to the value variable.
value = my_color.getRGB().toString(16);
![]() ![]() | |