At 5:18 PM -0400 9/7/05, you wrote:
At 11:34 PM +0200 9/7/05, Michael Nadel wrote:
Is there a way to get the music to restart where it left off after pausing?
If you don't actually pause the movie, then you should be able to
use sound(1).pause() and sound(1).play() to continue playing audio
at the point where it was paused. Depending on the situation, you
may be able to just hold on the current frame if in a paused state.
NOTE - the Lingo pause & continue commands are archaic and were both
deprecated years ago (1997 or maybe even earlier). Part of the
reason was behaviors like you have bumped into.
WORKAROUND #! - as suggested above, wrapping your pause/continue
routines with sound(2).pause() & then sound(2).play() should give you
what you had expected.
WORKAROUND #2 It's possible that sound channels 3-8 may not exhibit this issue.
Sound channels 1 & 2 are 'special' because they appear in the score &
for other reasons.
I think forgetting a MIAW may also stop sound(1) & sound(2) even if
the stage movie has initiated play into those channels.
Additionally, sound(1) gets used by the PLAY button for sound members
within the PI -
If one has used Lingo to set the volume to zero, then the PI will
seem broken when trying to preview sound members. :)
So I just avoid sound(1) & sound(2) because of their 'special' nature.
hth
-Buzz
--
Cole
[To remove yourself from this list, or to change to digest mode, go
to http://www.penworks.com/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/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!]