3 Replies Latest reply on Jun 14, 2011 1:19 PM by kglad

    Total up scores in many scenes

    xaty88

      Hi there.

       

      I'm trying to make a very simple flash game for my college project. The players will get 1 point each time they click on certain object. I've created 3 scenes and each of the scene has score value. I want to total up the score at Scene3. FYI, I use:

       

      1st Action Script add this to the variables frame:

      _root.total = 00;

       

      2nd Action Script add this to each of the hit sections in the Action Script frame:

      _root.total = Number (total) +1;

       

      My question is, how to add up the scores from Scene 1,2 & 3? What script should I use? Thanks in advance