-
can sameone give me a tip how to make
sound fade with sound objects?
thanks a lot?
bart
http://www.bartnt.com
-
The Definition of...
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.
-
please keep the threads in here dedicated to mac help. we have several actionscript and general help forums available to you. thanks. closing thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|