'Get Score Output in Reward Page - ActionScript 3.0

I have a question how can i show the output "score" in another page? I using the Adobe Animate;AS3. Have anyone experience with this? This work is for my Assignment in University.

This an example of the app https://imgur.com/a/VxhEoGk

The Action Script 3 code:

[1] AS for game: https://codebeautify.org/actionscript/y223f6311

[2] AS for reward: https://codebeautify.org/actionscript/y22dfa9e5

[3] AS for user enter their name:

function goHome(e:MouseEvent) : void {
    user_input = name_input.text
    gotoAndStop('home');
}

And when I wanted to show the user name in another page just use

name_reward.text= user_input;

I've try many way but doesn't work. It's possible for me to get the score output at reward page? Like a name that user need to enter when entering the homepage of this application.

Thank in advance for your help



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source