code doesn't work
i put following code in as3 when type in input letter "a" doesn't go frame 3.
enter.addeventlistener (mouseevent.click,nf);
function nf (event:mouseevent) :void {
if (ntext.text == "a") {
gotoandstop(3);
}
else {
error.text = "x";
}
}
did click enter?
More discussions in ActionScript 3
adobe
Comments
Post a Comment