7 Replies Latest reply on Dec 1, 2006 7:14 AM by kglad

    how to increase on(press) movie Clip value

    anjani_upadhyay
      I have a variable at frame 1,
      var a=0;
      i have a movie clip and i am writing a code on it

      on(press){
      a=a+1;
      trace(a);
      }

      bt the tracing value is showing NaN, how can i increase that value ??

      even if i am doing the same thing with button then its working fine.
      but the problem with Movie Clip. so any one can tell me, how can i solve this problem ?

      Thanks