AS coding help

im attaching an fla here, n im hoping u guys would take a look and help me with the coding. what im trying to do is have random coins, enter the color, and then the number value… for the next button… you shud not b able to click it or show another coin until you get both color and value right… thanx in advanced