Shared object question - save score!

Hi ,

I’ve got a simple game that has the following code on a button that re-enables the game again :

playAgain.label = “Play Again”
playAgain.button.onRelease = function(){
gotoAndPlay(“PlayGame”)
}
endGameMessage.text = "Thanks for playing.

It took you " + totalTime + " seconds to play the game."

question is…

I want to go about saving the data from +totalTime+ so it is displayed throughout the game…

any advice/help will be great…
thanks in advance
Lel