I completed this tutorial (http://www.kirupa.com/developer/mx/volume_slider.htm) on creating a volume slider and it worked great on my site but I have one issue. When the audio loads the volume begins at 0. Can anyone tell me what to edit in this code so that the audio starts at 100 and the user can reduce to 0?? Im very new to flash so this would be a great help for me! I think it has something to do with this part of the script -
[FONT=Courier New][SIZE=2]COLOR=#0000ff[/COLOR][/SIZE][/FONT]
but I’m not sure - [FONT=Courier New][SIZE=2][COLOR=#0000ff][/COLOR][/SIZE][/FONT]
the action script is as follows:
[FONT=Courier New][SIZE=2] onClipEvent (load) {[/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#808080]
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#ff6600] mySound = new Sound();
mySound.loadSound(“sound2.mp3”, false);[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#808080]
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2]}[/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#808080]
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2]onClipEvent (enterFrame) {[/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#808080]
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#336600] downloaded = mySound.getBytesLoaded();
total = mySound.getBytesTotal();
if (downloaded != total) {
_root.dl = “downloading song…”;
} else {
complete = 1;
_root.dl = “”;
}[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#808080]
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff] mySound.setVolume(_root.volume);[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#808080]
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2]}[/SIZE][/FONT]