Hi I’m very new to all this (forum and flash overall) compared to most but I’ve being trying to make a movie that when text is entered in to an input field depending on it’s value (after a click on a button) the movie goes to a certain frame.
For example if the text entered is = 5 then it goes to frame 52
if no then it goes to frame 2…
Here is the code I’m using which is on a button in frame 1… at the moment no matter what I type in it always goes to frame 52! I’ve named the variable for the input text inputAmount.
on (release) {
if (inputAmount=5) {
gotoAndPlay(52);
} else {
gotoAndPlay(2);
}
}
Any help would be very much appreciated! Sorry if this is a stupid quetion!
Thanks! :love: