onClipEvent (enterFrame) {
_root.currentcolor=0x+_root.base.hexcolor;
boxcolor=new Color (_root.base.colorbox);
boxcolor.setRGB (_root.base.currentcolor);
_root.base.colorbox._alpha=_root.base.opac;
}
This script is assigned to a controller movie clip so that it checks the value of hexcolor each time it cycles through its single frame, adds a 0x in front of it, and assigns it to the variable currentcolor for use with the various tools. Then it uses setRGB to create a new Color function that controls the fill of the active color swatch (movie clip instance name colorbox).
Thats it for the color palette.


