Checkbox help

Hi there, new to 2004…

I need to do a simple validation . 2 check boxes need to be checked before a user can go onto the next frame.

This is my code so far… I only have the one checkbox in the code cos not sure how 2 do both…

 
on (release) {
if (myCheckBox1.selected="false") {
_root.alert.gotoAndPlay("2");
	} else if (myCheckBox1.selected="true") {
	 
_root.gotoAndPlay("5");
}
}

Any ideas…

It just goes 2 frame 5 the whole time…
:ponder: