Hi Brian

I have not done much with players but I checked the reference and the 
message you need to handle is playStopped.

try this:

on playStopped tPlayer
  switch tPlayer
  case "fanfare"
    start player "finale"
    break
  case "finale"
    do whatever you want
    break
  end switch
end playStopped

I've never done it myself but that's the first thing I'd try ;-)

Regards

Monte

>From: Brian Thomas <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: playStopped message ?????
>Date: Sun, 19 Nov 2000 19:58:32 -0800
>
>I can't figure out how to write a handler that will trap the playstopped
>message that is supposed to be sent by MetaCard to the player that has just
>finished playing.
>
>I want to move on to playing a new sound (using Quicktime player) when
>first sound is finished.
>
>Metatalk reference says
>
>Arguments:  910: the short name of the player that has finished playing.
>
>Does this message get sent if player is stopped say by the user choosing to
>move to another stack? Or just when the player finishes playing the
>selection?
>
>In any case, do I put handler inside of player script? In background or
>card script?
>
>If player is named "fanfare" Is the message you trap for just
>
>on fanfare
>  start player "finale"
>end fanfare
>
>or is it
>
>on playerstopped fanfare
>  start player "finale"
>end playstopped
>
>
>I tried them both and could not get them to work.
>
>Thanks, for considering this.
>
>Brian, who is hanging like a pregnant chad waiting to be recounted by your
>expert self.
>
>Archives: http://www.mail-archive.com/[email protected]/
>Info: http://www.xworlds.com/metacard/mailinglist.htm
>Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to