At 09:44 AM 8/31/00, neil wrote:
>I have come across something I find extremely annoying. I have buttons on
>the stage. When I click on one of them and drag over top of another one
>and then release the mouse button the behavior on the button I am now
>currently over gets executed. WHY?
I have always used a property in the behaviors. Something like:
property spriteNum
property pClicked
on beginSprite me
pClicked = 0
end
on mouseDown me
pClicked = 1
end
on mouseUp me
if pClicked then
-- do something
pClicked = 0
end if
end
on mouseUpOutSide me
pClicked = 0
end
BUT...Somebody recently posted the fact that you can use 'the buttonStyle'
movie property to get the same effect. Even though the D7 docs say it only
supports buttons created with the Tool Palette, it actually works with
graphic buttons, too.
And it just worked in my little quickie test! :-)
--
Mark A. Boyd
Keep-On-Learnin' :)
[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!]