1 Reply Latest reply on Dec 10, 2007 2:09 AM by nITiNkIlLeRmEeRuT

    Press Trace

      i just add this code to one of the layers and a button named as cbm
      i tried to trace the action but for some reason it the press function doesn't work as it didn't trace for a+1
      can anyone help me with this?
      thx very much
      act the var has been set to 0 initially.

      trace("frame 2")
      cbm.onPress=function() {
      if (a == 0) {
      a = a+1;
      gotoAndStop("action a");