On 9/26/03 9:34 AM, "Lars Brehmer" <[EMAIL PROTECTED]> wrote:
> Is it possible to script a button so that when clicked it hides a
> button that occurs on on every card in a stack? The name and label of
> the button are the same on every cloned card, but each occurance is
> given a differnt object number.
If the button is not in a group (is there a reason why it is not?) you
could:
on mouseUp
repeat with C = 1 to number of cds of this stack
hide btn "cloaked" of card C
end repeat
# other code here
end mouseUp
To toggle the visibility, you could:
on mouseUp
put "cloaked" into B
repeat with C = 1 to number of cds of this stack
set the vis of btn B of card C to not the vis of btn B of cd C
end repeat
# other code here
end mouseUp
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution