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

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account