on(release) {
_root.hue = 0x000000;
}
What this code does is define a variable named hue on the root level of the stage, and then set the value of hue to 0x000000 which translates into black. When using hexadecimal values for colors in ActionScripting, always precede them with 0x instead of the # that you would use in HTML. So if we were working with red, wed take the hex value for red FF0000 and turn it into 0xFF0000.
Dont forget to put the _root. in front of the variable name; were going to be referencing this variable from another symbol, so weve got to make sure that it and the level that it operates on are clearly defined.


