Password buttons

Hello, i am using a password as3 script in my flash page. Instead of entering a password though, i would like there to several buttons on the scene so that one would have to select the proper buttons to enter the site. I have tried all kinds of ways to with buttons but nothing seems to work. Here is my code which works with the password entry:

submit_btn.addEventListener(MouseEvent.CLICK,subClick);
failed_txt.background = false;
failed_txt.border = false;
var myPass:String;
function subClick(eventMouseEvent):void{
myPass = pass_txt.text;
if(myPass == “password”){
gotoAndPlay(“hidden”);
}else{
failed_txt.text = “Please enter a valid password.”;
}
}
Any ideas?
thanks