>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