How do I reset my game score in Flash?

Kanna-Chan

New member
I made a card matching game and a screen after it that says you win when you match all the cards and then has a replay button. When I click the button and the new game begins, the old score is still there but the new score updates on top of it. I want the old score to go away, leaving just the new score. What code should I use? This is ActionScript 3.0 btw. The file is also an external .as file, not in the game itself since my game is mostly class-based with just a little bit of time line based stuff.
 
Back
Top