I can't seem to upload my fla since it is very big but i think will post my codes
ActionScript Code:
//to make the buttons invisible
btn1._alpha = 0;
btn2._alpha = 0;
btn3._alpha = 0;
btn4._alpha = 0;
btn5._alpha = 0;
btn6._alpha = 0
//to make the circles invisible also
cir1._alpha=0;
cir2._alpha=0;
cir3._alpha=0;
cir4._alpha=0;
cir5._alpha=0;
cir6._alpha=0;
//to prevent the hand cursor from showing up to reveal the answer
btn1.useHandCursor = false;
btn2.useHandCursor = false;
btn3.useHandCursor = false;
btn4.useHandCursor = false;
btn5.useHandCursor = false;
btn6.useHandCursor = false;
//to show the circle when the error have been identified
btn1.onRelease = function()
{
cir1._alpha = 100;
cir4._alpha = 100;
}
btn2.onRelease = function() {
cir2._alpha = 100;
cir5._alpha = 100;
}
btn3.onRelease = function()
{
cir3._alpha = 100;
cir6._alpha = 100;
}
I can't really find the logic to end the game upon the 3 errors being identified.
I have thought of using the If else statement.