[Flash 8] setting parameters with ch box

does flash 8(as 2) still got methods for the ch box UI component? i tried to write a script featured in a book about flash mx and it doesn’t work. the idea is that i want to use the method featured in that script to controll a set of colors that are loaded from a script that i wrote. for instance if i have red,green and yellow and i select the ch boxes for red and yellow there shouldn’t be any green. so when i press that certain button the script should load randomly the red or the yellow mc from the library. if all the checkboxes were to be selected the script should randomly one of the 3 colors. if none of the ch boxes are selected then the script should load none of the mc’s. for a better understanding here is the post that contains the script that i want to make more intricate http://www.kirupa.com/forum/showthread.php?t=340980

if this is not possible in flash 8 i would be interested to learn if this can be done with a button or mc.