QT player and continuous play of a list of songs problem

Mark Stuart mfstuart at cox.net
Thu Dec 6 22:53:05 EST 2012


on Thu Dec 6 02:04:44 CST 2012, BNig wrote:
Note: The playStoppedmessage is sent when a card containing the player
closes and when the player's filename property is changed.  If the player is
hidden, or the movie or sound is not currently running, the message will
still be sent.  To prevent a playStopped handler from being executed
inappropriately, set the lockMessages to true before changing the filename
or switching cards:

  lock messages -- prevent sending playStopped
  set the filename of me to newFile
  unlock messages

Thanx Bernd. That stopped the LC engine from going to the top of the handler
again.

But I can't resolve the no audio problem when the next song is set to play.
Any ideas on that?

Regards,
Mark Stuart





More information about the use-livecode mailing list