If a track is playing (or paused), then you can't switch tracks until
you've done a stop().
as for your question, if you are changing songs (URL =) then add a
re-setup for the button too.
hth
-Buzz
At 3:36 PM -0500 7/16/01, Craig Wehr wrote:
>hello,
>I'm trying to set up a jukebox player with track listings that if you click
>on, it takes you to the track. It also has a play/pause button that switches
>back & forth depending on if the music is playing or paused.
>example: during playback, the sprite is a pause button, and when paused it
>is a play button.
>The problem is that if the music is on pause, and you click on the track
>title, it starts playing that track. I need it to tell the sprite to switch
>back to the pause button.
>
>I know this sounds confusing.
>
>This is the script i have below, it seems to me this should work, but it
>does not.
>
>I appreciate any help.
>Thank you in advance.
>
>
>
>property pSprRef
>property pPlayMem
>property pPauseMem
>
>global gAudioMode
>
>on beginSprite me
> pSprRef = sprite(3)
> pPlayMem = member(25)
> pPauseMem = member(26)
> pSprRef.member = pPauseMem
>end
>
>on mouseDown
> go to "01"
> if pSprRef.sprite = pPlayMem then
> sendAllSprites(#playAudio)
> pSprRef.sprite = pPauseMem
> else nothing
> end if
>end
>
>
>[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!]
[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!]