Howdy doo!
Having a slight problem with my volume slider. Can’t figure out what it is. I converted the slider bar and slider button to buttons. Then, I made the slider button into a movie clip.
Here is the code I placed while slider button was a button:
on (press) {
startDrag(this, false, left, top, right, bottom);
}
on (release) {
stopDrag();
}
Here is the code I placed when I made it into a movie clip:
onClipEvent (load) {
top = _y;
bottom = _y;
left = _x;
right = _x+100;
_x += 100;
}
onClipEvent (enterFrame) {
_parent.mySound.setVolume(_x-left);
}
It seems right to me but I don’t know. The movie button slides down the slider bar but it just doesn’t affect the volume. Going to try to attach my FLA to offer better insight. Just tried to upload it and no matter if it’s FLA or zipped FLA, it says it failed.
Thanks,
Brian