PDA

Click to See Complete Forum and Search --> : sound FADE with sound objects?



bart.net
05-08-2001, 08:23 AM
can sameone give me a tip how to make
sound fade with sound objects?

thanks a lot?

bart
http://www.bartnt.com

Urbansory
05-08-2001, 12:01 PM
You mean as in a volume controller? I guess it doesn't matter, it all works the same.

In my first frame of the scene to hold the sound I have this script(note.I only use one frame for my site)

sound1 = new Sound();
sound1.attachSound("whoa");
sound1.start(0, 999999);

(*note-"whoa" is the linkage name of the song I'm using)

(*Note-Now for my site I used a lot of things to get the volume slider to be on a curve, so I'm not getting into all that)

volume = int(/:slider._x);
(Note-slider is the name of the movie clip that I'm tracking to find the x position, and the value of the x becomes the value to set the audio)
_level0.sound1.setVolume(volume);

I'm sure the is a fla that uses a somewhat similar method on Flashkit.

8minus8
05-09-2001, 02:52 AM
please keep the threads in here dedicated to mac help. we have several actionscript and general help forums available to you. thanks. closing thread :)