5 Replies Latest reply on Dec 14, 2006 3:54 AM by Newsgroup_User

    volume control

    Keith444
      Hi i have some background music and a seperate file as a voice over, i need to lower the volume of the main background and keep the voice at 100%

      i have tried this code but not quite working?

      myLoop1 = new Sound();
      myLoop1.attachSound("Main");
      myLoop1.start(0,10);
      myLoop1.setVolume(10);

      myLoop2 = new Sound();
      myLoop2.attachSound("voiceOne");
      myLoop2.start(0,10);
      myLoop2.setVolume(100);