I guess you are animating a sprite using lingo. the following script may
help you.

property pPause

on beginSprite me
  pPause = #no
end

on mouseEnter me
  pPause = #yes
end

on mouseLeave me
  pPause = #no
end

on exitFrame me
  if pPause = #no then
    -- animation happening
    -- sprite(me.spriteNum).locH = sprite(me.spriteNum).locH + 1
  end if
end


regards
---------------------------------
Ramesh CT



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to