everyone.
I'm having a bit of an issue with ActionScript. I've created a text box and I want my user to enter an answer in to the text box, IF they get it right it will go to "said" frame, but if then get it wrong it ELSE will go to "said frame".
However I cannot get my if, else statement to work in my code. It seems that once the timeline gets to the ActionScript frame it then takes me to the frame assigned by the else command despite me typing in the correct answer in my text box. Anyone know how to fix this? I've posted my draft of what I have down below. Much appreciated.
You need to make sure you use the comparison operator in your if statement. Right now, you are setting the text property inside your if statement instead of comparing.
You need to change this line:
to this: