you could let a script do it for you
property active
property spritenum
on beginsprite me
active = true --active on start
end
on mouseUp me
if active then
--do you stuff
alert("Button works!")
end if
end
on deactivate me
sprite(spritenum).blend = 50 --make button half transparant, or switch
member or something else
active = false
end
on activate me
sprite(spritenum).blend = 100 --normal button
active = true
end
then call
SendSprite( x , #activate) -- or deactivate
HTH/Christoffer
----- Original Message -----
From: "Age Bosma" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 11, 2004 9:52 PM
Subject: <lingo-l> Disable button
> Is there a property I can set to deactivate/disable a button?
> I would like to still display the button but it should be grayed out and
> if someone clicks on it it should do nothing.
> The button should become active again after a certain amount of
> frames/markers.
>
> I could do it manually by drawing the same button again with a different
> style and just display it as a basic sprite but if there's a property
> available it would be a cleaner solution.
>
> Age
>
> [To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]