Hi everyone, this seems pretty straightforward but I’m struggling.
I have a textInput component on stage. There is also push button component. the user types his name in the textInput box, and when he presse the button it goes to the next frame, transferring the value of the textInput box to a dynamic text box on frame 2. The dynamic text box just gives me “undefined”. here’s the code:
Frame1:
btn.onRelease = function(){
gotoAndPlay(2);
}
Frame2:
receiveTxt.text=sendTxt.text;