Volume Slider with several audio files
How to create slider which will include more than 1 audio files.Am using this code for button to continue it till 3-4 scenes ahade-
stop();
mySoundBtn1.onRelease = function () {
mySoundC = new Sound(this);
mySoundC.attachSound("mySoundClip1");
mySoundC.start(0, 10); //10 represents the number of loops
gotoAndPlay("play1", "abc");
}
This code is working for audio(audio play properly).But on second screen there is volume slider which do not get link from this code.Myproblem is
I want to make code which will play audio after click on button and it should have facility that user can adjust this sound with volume slider.
Can any one tell me perfect code to make this possible?Is there any more code to play sound and play continously for button.Am using as 2 in flash cs 5.
