Hi, Peri

I appreciate your  help.

I placed the following script you wrote in my movie. But the music still 
stopped abruptly and there was no fade out. By the way my music file is very 
long- could that be a problem?

Genevieve




>From: Peri <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: <lingo-l> Sound does not end
>Date: Tue, 25 Sep 2001 13:06:25 -0700
>
>You need  a go to the frame script in this one
>Like
>on exitFrame me
>   sound(1).fadeOut(500)
>
>   if sound(1).volume = 0 then
>     halt
>   end if
>   go the frame
>end
>
>Oh and use halt rather than exit, as halt will quit the movie in playback, 
>but
>will only stop the movie in Authoring.  No more restarting Director after 
>each
>playback.
>
>Peri
>
>Genevieve Young wrote:
>
> > Peri wrote:
> >
> > >Then you can use sound(channel).fadeOut(), with the amount of time in
> > >millseconds that you want the sound to fade out in.  Run a check for 
> >the
> > >volume in like an If statement that checks the volume of that sound
> > > >channe;
> > >then exit when it is 0.  You can do it in a frame script.
> >
> > >Peri
> >
> > --
> >
> > on exitFrame
> >   sound(4).fadeout (20)
> > if sound(4).volume = 0 then
> > exit
> > end if
> >
> > end
> >
> > My music file is in channel 4. However, on running the movie,the music 
>plays
> > but does not become softer i.e. fadeout. The scenes stop, the music
> > continues then the movie still ends abruptly.
> > Is the sound (). volume command correct?
> >
> > Thanks!
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at 
>http://explorer.msn.com/intl.asp
> >
> > [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!]
>
>
>[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!]
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


[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