1 button for mutliuses
Thomas McGrath III
3mcgrath at adelphia.net
Fri Jun 3 23:02:27 EDT 2005
Hey Buddy,
Make a button and name it "Play" without the quotes then put this
script into it:
on mouseUp
if (the short name of me is "Play") then
set the name of me to "Pause"
-- pause script for player goes here
--play stop audioClip "Trust No One" -- or pause
else
set the name of me to "Play"
-- play script for player goes here
--play audioClip "Trust No One"
end if
end mouseUp
Tom
On Jun 3, 2005, at 8:20 PM, Buddyb3ar22 at aol.com wrote:
> So does that mean I would have to insert all of this code into the
> Script
> part?
> And for the ID, what would an example look like x.x like on the C:/
> Drive or
> something like that.. I'm sorry, I'm just kinda confused
> -------
>
> set the name of me to "Play"
> set the name of me to "Pause"
> set the icon of me to 1000 ## the ID of an image you want to use
>
> on mouseUp
> if (the short name of me is "Play") then
> ...
> else
> ...
> end if
> end mouseUp
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
More information about the use-livecode
mailing list