Thanks, Colin

I put the soundbusy(1) line in because when I jumped from another
frame that had an audio playing they really seemed to crash into
each other.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Colin Holgate
Sent: Wednesday, June 20, 2001 11:20 AM
To: [EMAIL PROTECTED]
Subject: Re: <lingo-l> Need help with audio hiccuping!


>on beginsprite me
>   if soundBusy(1) then sound(1).stop()
>   sound(1).queue([#member: member("prog_intro")]) --79
>   sound(1).play()
>end

Perhaps setting a flag and doing the sound on exitframe would
help.
That way any sprites that have media loading won't be fighting
with
the playing of the sound. Also, no need to check soundbusy(1)
really.
Something like this:

property playedyet

on beginsprite me
    sound(1).stop()
    playedyet = false
end

on exitframe
   if not playedyet then
     playedyet = true
     sound(1).queue([#member: member("prog_intro")])
     sound(1).play()
   end if
end


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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