Hi there, I have an Introduction screen class that asks for name entry, when the start button is clicked I have managed it to trace the name that is entered.
private function startButton(event:MouseEvent):void {
trace("Start button clicked.")
nameEntry = enterName.text;
trace("Hello " + nameEntry);
MovieClip(parent).MainMenu();
}
However, I want to recall this entered name and display it in a dynamic text field in my MainMenu page, which uses a separate class. I don’t know how to pass the string into a different class.
Any help would be useful.
Thanks.