So! It's a small thing, but what you're doing is: When the window is created, set myEditText to be the contents of the text field (which is blank) When the button is pressed, return the value of myEditText that you set before (which is a blank string). What you need to do instead is to get the value of myEditText on button press, not before; just define the value within the button click. From: var myEditText = myText.text; var Button = groupOne.add("button", undefined, "Button"); Button.onClick = function() { main("Bouncing_texts.ffx", myEditText); // FINAL FUNCTION!!! }; To: var Button = groupOne.add("button", undefined, "Button"); Button.onClick = function() { var myEditText = myText.text; main("Bouncing_texts.ffx", myEditText); // FINAL FUNCTION!!! };
... View more