4 Replies Latest reply on Jan 7, 2011 12:24 AM by kglad

    Variables

    TOverturf Level 1

      In the begining of the code I define 2 variables:

       

      var menuLeftXStart:int = -400

      var menuLeftXEnd:int = -300

       

      Later in the code I want the first variable to equal the second value (-300) and the second variable a new number, and so I wrote this code:

       

      menuLeftXStart = menuLeftXEnd;

      menuLeftXEnd = -210;

       

      But, it's still not working. =(

       

      Ideas?