I�m having a problem with sound in Director 8.5 and was hoping someone
could steer me in the right direction.
This was originally a Director 7 movie, converted to 8.5, and now it
doesn�t behave correctly. I have a background music track playing in
channel 2 throughout the entire movie, and several narration tracks that
play in channel 1. You can skip forward and backward through the
narration, but the music continues uninterrupted.
Problem is when you pause the movie, narration and music both stop, as
they should, but when you continue the movie, the music won�t start back
up.

This is attached to the �pause� button:
on mouseDown
  pauseHandler
end

This is in a movie script:
on pauseHandler
  global gPresentationType
  if gPresentationType="playthrough" then
    puppetSound 0
    --checks for a QuickTime movie in sprite 100, stops it if there is
    if the memberNum of sprite 100<>0 then
      if the type of member the memberNum of sprite 100=#quicktimemedia
then
        set the movieRate of sprite 100=0
      end if
    end if
    --opens the pause MIAW
    set the windowList=[]
    set the windowtype of window "pause.dir" to 2
    set the modal of window "pause.dir" to TRUE
    set the visible of window "pause.dir" to FALSE
    set the rect of window "pause.dir" to the rect of the stage +
rect(0,454,0,0)  
    open window "pause.dir"  
    set the visible of window "pause.dir" to TRUE
    cursor 0  
    pause
  end if
end 

Then, in the �pause� MIAW, this is attached to the �continue� button:
on mouseUp
  tell the stage
    --restarts QuickTime movies
    repeat with y=1 to 100
      if the memberNum of sprite y<>0 then
        if the type of member the memberNum of sprite y=#quicktimemedia
then
          set the movieRate of sprite y=1
        end if
      end if
    end repeat
    continue
    --returns to the beginning of the current narration marker
    global gTheMarker, gTheMarkerNumber
    set gTheMarkerNumber=gTheMarkerNumber-1
    go marker (gTheMarker)
  end tell
  forget window "pause.dir"
  cursor 0
end

Any help would be appreciated.
Thanks,

[EMAIL PROTECTED]
Information Designer
New Media/Multimedia Group
Pudik Graphics, Inc.



[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!]

Reply via email to