1 Reply Latest reply on Sep 19, 2014 12:34 PM by kglad

    Delete onEnterFrame function

    Ron Colmen Level 2

      How do I delete this onEnterframe?

       

      CODE:

      function myFunc(){

           if(i >= endPoint){

              //do something

          } else {

             //delete this onEnterFrame ???

          }

      }

       

      btn_mc.onRollOver = function(){

          _root.onEnterFrame = myFunc;

      }