4 Replies Latest reply on Apr 8, 2008 1:18 PM by adam@blueapplestudio

    Why might a trace statement make a function become undefined?

    adam@blueapplestudio Level 1
      In a JavaScript Movie Script I am defining a few functions for my movie. As soon as I add the trace statement at the bottom of the script, I get this error-

      Script Error: Reference Error:
      fPauseKeyframePlayerAnimation is not defined

      fPauseKeyframePlayerAnimation(mCube, “CubeKey”);

      Why would adding this trace statement cause the above function to become undefined?