Each movie clip as an ActionScript assigned to it so that when its clicked, it assigns a string matching to the hexadecimal code for the color of the square to the variable hexcolor. For example, this is the script assigned to the white square on the basic palette:
on (release) {
_Root.base.hexcolor=FFFFFF;
}
This is one of three ways to assign a string value to hexcolor.


