On 4/5/01 7:09 AM, "Gytenis Voronovas" <[EMAIL PROTECTED]> wrote:

> on spriteBegin me
>  puppetSound "mars_sound" --or puppetSound 2, member "mars_sound"
>  updateStage
>  repeat while the soundBusy (1) -- if soundBusy (1) go to the frame
>  end repeat
>  puppetSound 0
> end


Well first off, it's beginsprite me not spriteBegin me....(unless that's a
custom handler).

And you don't want to do a repeat loop there -- beginsprite just happens
once and shouldn't 'lock up' doing a go to frame....

You want to add:

On enterframe me
    if the soundbusy(1) then
        go to the frame
    else
        go to the frame +1
    end if  
End enterframe me   


[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