0
code doesn't work

/t5/animate-discussions/code-doesn-t-work/td-p/5037662
Apr 29, 2013
Apr 29, 2013
Copy link to clipboard
Copied
I put the following code in AS3 but when I type in to the input the letter "a" it doesn't go to frame 3.
enter.addEventListener (MouseEvent.CLICK,NF);
function NF (event:MouseEvent) :void {
if (Ntext.text == "a") {
gotoAndStop(3);
}
else {
error.text = "X";
}
}
TOPICS
ActionScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Guide
,
/t5/animate-discussions/code-doesn-t-work/m-p/5037663#M133791
Apr 29, 2013
Apr 29, 2013
Copy link to clipboard
Copied
Did you click enter?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

Guest
AUTHOR
/t5/animate-discussions/code-doesn-t-work/m-p/5037664#M133792
Apr 29, 2013
Apr 29, 2013
Copy link to clipboard
Copied
yes
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Guide
,
LATEST
/t5/animate-discussions/code-doesn-t-work/m-p/5037665#M133793
Apr 29, 2013
Apr 29, 2013
Copy link to clipboard
Copied
What happens if you put a breakpoint in your function and step through the code?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

