Sound Volume Question

Howdy. In my game I have the player running around rooms and in one of them I have a fireplace. I was wondering if anyone knew a way to make it so the closer they are to the fire (or within a certain range) would change the fires sounds volume. I’ve tried to do it with


setVolume();

but so far no luck with my crafty codes. I am also looking to make another sound fade based off a movieclips _alpha.