A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Advenced sound mixer, HELP

  1. #1
    Join Date
    Mar 2002

    Advenced sound mixer, HELP

    Enyone knows how to make two sound channals in swf?In first channal it will be sound object (mp3) and in second embeded.video.sound. I need to make a mixer which could change the volume of each channal. Right now I can change the global volume but I dont know how to define a sounds to change separetly a volume of mp3 and video?
    The ZooF

  2. #2
    Join Date
    Apr 2001
    Akron OH, USA
    create a sound object for each sound and associate each sound object with a unique movie clip. If you do not associate a mc with a sound object, like mysound = new Sound(), then the sound object defaults to controlling volume and pan of all sound in the player.

    mp3Control = new Sound(target path to a unique mc);
    mp3Control.setVolume(0); // mute mp3 sound
    videoControl = new Sound(target path to mc containing video);
    videoControl.setVolume(0); // mute video sound
    aviarts.com - web development and flash development

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center