The web site for Flash ActionScript 3.0 game developers

 
         
   

Deduction Game Colo property

Hi, I have a really rookie question, in the clickPeg function of the
Deduction game on chapter 4 page 146, when you access the color property as in
thisPeg.color, you get a number from 0 to 5, can you tell me why this is?,
shouldn't you get a hexadecimal number instead? and how come I can access
the color property on a peg Class(thet seemingly inherits from a MovieClip) but not on a MovieClip.
Thank you very much.



Copyright Gary Rosenzweig