Controling sound file on stage

Hi,

I’ve placed a soundfile on the stage in my timeline and set it to ‘loop’.

I wanna control this soundfile via actionscript (setting the volume to ‘0’ or ‘100’ via the ‘if’ statement if certain parameters are met).

How can I assign an instance_name or variable for that soundfile ?

I gave it the linkage ‘sound_main’ but I can’t control it with that…

I don’t wanna work with the ‘attachsound’ method - I like to see my stuff on the stage…

Thanx for your help in advance !

Mike