Volume control slider problem

I read the tutorial on how to make a volume control slider, but I don’t know what to do if I want the sound to play after it’s loaded, not wait for the user to press ‘play’, and start at a different point in the slider, instead of volume = zero.

I want the sound to play
• automatically just after it’s loaded
• at a certain volume (not volume = zero)