7 Replies Latest reply on Jul 12, 2007 5:19 PM by kglad

    function naming

    NickTheNameless
      if i change the code below to say

      clock1.onRollOver = function() {

      and continue continue with the function, it works fine. the function only executes when the mouse is rolled over the movie clip. however, as it stands below, the function executes immediately, without a mouse over event and does nothing when the mouse is rolled over the movie clip.

      i want to name this function, because it can be re-used for several different movie clip's onRollOver state. so, how do i name the function, but stop it from executing when the frame is loaded?