Be a Supporter!

Controlling individual sounds

  • 156 Views
  • 1 Reply
New Topic Respond to this Topic
DaZinga
DaZinga
  • Member since: Dec. 15, 2009
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Controlling individual sounds 2011-02-20 04:14:14 Reply

Hi, I just want some help with this because its been driving me crazy for the past couple of days.

In my animation, I have some background music and I have lines of character voices going at the same time. But because the volume on the background music is too loud and you can't hear the voices, I used some coding like this to control the volume of the background music:

_root.myLoop = new Sound(stage);
_root.myLoop.attachSound("overworld");
_root.myLoopVolume=70;
_root.myLoop.setVolume(myLoopVolume);

It lowers the volume of the background music but it also lowers the volume of every other sound file too. Is there any way to control the volume of an individual sound file only? Thanks guys.


I have deviantArt!! Check it out by clicking on the signature!

BBS Signature
maficmelody
maficmelody
  • Member since: Nov. 25, 2008
  • Offline.
Forum Stats
Supporter
Level 29
Animator
Response to Controlling individual sounds 2011-02-20 14:18:37 Reply

I just click the 'edit' function near the sound file in the properties bar, and lower the left and right channels.. but I could be a noob doing it wrong =)


| R&S comic Tumblr | art n' animation Tumblr | Twitter | YouTube channel |