Colby,

I'm not sure if I understood you, but here's a very simple behavior that 
is disabled on mouseEnter and re-enabled on mouseLeave. Maybe you can 
adapt this to your needs.

Rich Shupe

property pDoBehavior

on beginSprite me
  pDoBehavior = 1
end

on mouseEnter me
  pDoBehavior = 0
end

on mouseLeave me
  pDoBehavior = 1
end

on exitFrame me
  if pDoBehavior then sprite(me.spriteNum).foreColor = 
sprite(me.spriteNum).foreColor + 1
end

On 1/2/01 4:49 PM, Colby Dodson ([EMAIL PROTECTED]) sent:
>Does anyone know if there is a way to disable a behavior attached to a
>sprite on a  mouseEnter or mouseLeave command. Appreciate anyone who can
>help.

[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