Hello AMH
Your problem in your code may be that volume_mc.mySLider.addEventListener(MouseEvent.MOUSE_DOWN, startDragging) is not in a function.
Another problem may be that the slider does not exist when you run the code. So my solution for your code is to put the addEventListener to your main function and put it at the very end of the function.
Jacob.