mp3 files and the player object

Jim Lambert jiml at netrin.com
Wed Feb 19 15:29:12 EST 2003


<    wait (the duration of player "myPlayer" / the
timeScale of player "myPlayer") seconds>

This works and that's most important, but...
Everything, including user interaction, suspends while the sound is playing,
thus preventing the user from stopping the sound in midplay. If these sounds
are brief you can probably 'get away' with that, but it's friendlier to
leave control to the user. Klaus' SEND example allows for interruption
during and between sound plays.

I wonder why playstopped isn't 100% reliable.

Jim Lambert






More information about the use-livecode mailing list