I'm not getting any errors, but i'm making a trivia game

[COLOR=#000000][FONT=Arial]I’m not getting any errors, but i’m making a trivia game (Specifically a free answer section) In the stage, there is an input textbox, and a button. I’m trying to make it so that a user could type in an answer on it and submit it. The answer, in this case, is 4, and if the student types in 4 and clicks submit, it’ll jump to frame 3. If they put something other than four, then it will go to frame 23, aka, the “You lose” frame. Is there anything I should change?
[/FONT][/COLOR]

[COLOR=#00008B]function[/COLOR] handleClick(pEvent:[COLOR=#2B91AF]MouseEvent[/COLOR]):[COLOR=#00008B]void[/COLOR] {
[COLOR=#00008B]if[/COLOR] (fouryears.text == [COLOR=#800000]“4”[/COLOR]) {
gotoAndStop([COLOR=#800000]3[/COLOR]);
}
[COLOR=#00008B]else[/COLOR] {
gotoAndStop([COLOR=#800000]23[/COLOR]);
}[COLOR=#000000][FONT=Arial]}
submitbtn.addEventListener(MouseEvent.MOUSE_UP, handleClick);

Thank you[/FONT][/COLOR]