PlayStopped message

Howard Bornstein bornstein at designeq.com
Fri Jan 17 21:17:01 EST 2003


>How can I
>safely capture the end of a song being played ?


I handled it this way within the Playstopped handler:

  if the currenttime of player "thePlayer" = 0 then
    exit playstopped
  end if

This traps out the case where PlayStopped is called when the player is 
set to a new file name.

Unfortunately, this doesn't explain WHY playStopped is called when the 
player is set to a new file name. Does anyone understand this? Is this a 
bug in Rev?

Regards,

Howard Bornstein
____________________
D E S I G N  E Q
www.designeq.com



More information about the use-livecode mailing list