2 Replies Latest reply on Jul 27, 2006 6:15 AM by Jakob_Wagner

    start enterframe inside a function

    Jakob_Wagner
      Hi,

      How can I start/end a enterframe function from within a custom function?

      I've tried somthing like:

      function startTurning()
      {
      function enterFrame() {
      trace("UU");
      }
      }
      startTurning()
      }
      function stopTurning()
      {
      function enterFrame() {}
      }

      Think I'm completly lost so all answers are apregiated.

      Thanks, jakob.