Contact Info / Websites


OK CAN someone tell me whats wrong with this...

function correct(){
score+=1
nextFrame()
correctans._visible=true

}
function wrong(){
nextFrame()
wrongans._visible=true
}

right_btn.onRelease= correct;
wrong_btn1.onRelease= wrong;
wrong_btn2.onRelease= wrong;
wrong_btn3.onRelease= wrong;

when i click the buttons(which i instance named accordingly) nothing happens..
-i want function correct to execute when i press right_btn.........................this code is place on the 1st frame