3 Replies Latest reply on Mar 24, 2007 12:59 PM by kglad

    Key_Listener.onKeyDown dependa on loadMovieNum() ?

    Level 7
      My SWF has Key_Listener.onKeyDown

      On "M" it callas function which toggles between mouse.show and mouse.hide
      On "R" it reloads itself using
      loadMovieNum("filename",0)

      It works fine except after reloading, every press of M causes the toggling
      function to be called two times.
      Another reload causes the function to be called three times every time M is
      pressed.
      Naturally, the mouse toggles only when the function is called un-even number
      of times, and therefore the whole thing works only when the file is reloaded
      even number of times.

      What might be the reason for that and how shall I sort it out?