Sound volume per object

Hi guys,

I can’t seem to figure out how I set the volume of a single sound object. Everytime I use setVolume on a sound, it is applied to all sound objects playing :h:

The code that I’m using :

music = new Sound();
music.attachSound("music");
music.start(0, 5);
music.setVolume(1);

Apparently, it’ll work if you give the sound its own movieclip like this :

music = new Sound(_root.createEmptyMovieClip(‘bgm’, 1));

music.attachSound(“music”);
music.start(0, 5);
_root.music.setVolume(1);