I want to check the RGB color of the object using actionscript in flash. The name of the object is object1. I checked like this but it didnt worked. help me
if (object1.color=rgb(255,0,255))
{
trace("Selected Pink");
}
Give me correct syntax to check the rgb color of the object