Hi Chris,

Don't set the Sound Cast Member Properties of your sound member
to loop.  Try attaching this behavior.

on exitFrame me
    if sprite 1 intersects sprite  2 then
        if not soundBusy(1) then    
           puppetSound 1, "whatever"
        end if
    end if
end

Hope this helps.

John Erazo

----- Original Message ----- 
From: "chris" <[EMAIL PROTECTED]>

> i'm trying to get a looped sound to play while two sprites intersect, so
> the user can drag a sprite over one sprite and have a certain sound loop
> while the sprites are intersecting (and stop the immediately when they
> aren't), and drag it over another and have another sound loop, etc.
> here's the code i used, which i know is horribly wrong
> if sprite 1 intersects sprite 2 then
>   puppetsound 1, "whatever"
> end if
> a sound is played, but only the first millisecond or so.
> any ideas?



[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