> I also tried to use what Irv had written. However, the music
> stops abruptly
> and the movie ends.
I think perhaps what Irv meant might be:
property pEndMilliseconds
on beginSprite me
nMilliseconds = 500 -- the number of milliseconds over which to fade
sound(1).fadeout(nMilliseconds) -- start fading channel 1
pEndMilliseconds = the milliseconds + nMilliseconds --
millisconds when you want to stop
end
on exitFrame me
if the milliseconds >= pEndMilliseconds then
halt
else
go to the frame
end if
end
(I've added an 'else' statement in the exitFrame handler, as well as the
'me' parameter to the handler definition - realising that this part isn't as
mission-critical)
HTH,
-Sean.
[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!]
- Re: <lingo-l> Sound does not end Peri
- Re: <lingo-l> Sound does not end Peri
- Re: <lingo-l> Sound does not end Genevieve Young
- Re: <lingo-l> Sound does not end Buzz Kettles
- Re: <lingo-l> Sound does not end Genevieve Young
- Re: <lingo-l> Sound does not end Peri
- Re: <lingo-l> Sound does not end Peri
- Re: <lingo-l> Sound does not end Genevieve Young
- Re: <lingo-l> Sound does not end Genevieve Young
- Re: <lingo-l> Sound does not end Kerry Thompson
- RE: <lingo-l> Sound does not end Sean Wilson
- RE: <lingo-l> Sound does not end Fulton Davenport
- RE: <lingo-l> Sound does not end Irv Kalb
- <lingo-l> Sound does not end Charlie Fiskeaux II
- RE: <lingo-l> Sound does not end jp
- <lingo-l> Sound does not end Charlie Fiskeaux II
- RE: <lingo-l> Sound does not end Genevieve Young
- RE: <lingo-l> Sound does not end Kerry Thompson
- RE: <lingo-l> Sound does not end Buzz Kettles
- RE: <lingo-l> Sound does not end Genevieve Young
- Re: <lingo-l> Sound does not end Irv Kalb
