1 button for mutliuses
Levi Kendall
ljk144 at gmail.com
Mon Jun 13 12:16:55 EDT 2005
I like the suggestions that have been given so far, and I'll have to
considering switching to that method myself but the way I've been
doing this is by creating 2 buttons on top of each other and then each
button hides itself and shows the other. The scripts for the buttons
would look as shown below, and you can leave the label and such of
each one intact individually. This is just another option.
-- play button script
on mouseUp
-- do something
set the visible of btn "pause" to true
set the visible of me to false
end mouseUp
-- pause button script
on mouseUp
-- do something
set the visible of btn "play" to true
set the visible of me to false
end mouseUp
More information about the use-livecode
mailing list