1 Reply Latest reply on Dec 8, 2009 11:25 AM by kglad

    HitTest action only Once?

    shintashi Level 1

      How do I set up something so it only loads once after HitTest is verified?


      like if I have


      onEnterFrame = function(){






      how do I keep it from loading the mouse 12 times per second?




      When I created the loadpet(); function, it worked fine outside  onEnterFrame, but I can't get the hitTest command to work without an EnterFrame.