dimanche 18 septembre 2016

Convert code sniplet gotoandstop to if else coondition

i just want to ask how can i make a code without needing the code sniplet gotoandstop when clicking button, i want to make if else statement where if he click this called "answerb.btn" he will go to the destined frame.

Well im thinking this code

 If (answer.btn = onPress) {
 gotoAndStop(2);
 }

But somehow ita wrong code i dont know what code to use for pressing button. Pls enlighten me ty

Aucun commentaire:

Enregistrer un commentaire