How can I make a condition to test color like for example :
if I have a movie clip whose color is 0xff0000
and I wanna have a condition to test this like :
[AS]
//This is not the right way but how do I doit?
if(_root.MC.color == 0xff0000){
_root.Score = 100;
}else{
_root.Score = 0;
}
}
[/AS]
THANKS:)
The concept is the same, although the answer is slightly more complex because of the naming of movie clips and the method used. It’s not that it is wrong, it is simply that there are many ways to do it.