1 Reply Latest reply on Jan 1, 2007 2:29 PM by kglad

    Code not working!

    Mr._Rish Level 1
      I am using the partial code below to keep the movieclip from following my mouse after i get to close to the sides of the flash window. It isn't working though-- any thoughts?
        • 1. Re: Code not working!
          kglad Adobe Community Professional & MVP
          yes, it's not going to work. either that code you posted is looping and you'll repeatedly define that onEnterFrame loop (which is unnecessary) and that onEnterFrame loop will never stop (even when the mouse is near your stage edge). or that code is not looping and will execute once when your mouse will likely not be detected and that onEnterFrame loop will never be defined.

          to remedy use: