Contoh latihan dan action script adalah seperti:
on (release) { if (answer == "yes") {respon="correct!";
} else {
respon = "Incorrect. Your answer" + answer + "is incorrect";
}
}
on (release, keyPress "<Enter>") { if (answer == "yes") {respon="correct!";
} else {
respon = "Incorrect. Your answer " + answer + " is incorrect";
}
}
on (release) {
respon = "This is just right!";
}
No comments:
Post a Comment