# Set volume to all sound files - common coding

**URL:** https://forum.kirupa.com/t/set-volume-to-all-sound-files-common-coding/64810
**Category:** Uncategorized
**Created:** [September 20, 2004, 10:05am UTC](https://forum.kirupa.com/t/set-volume-to-all-sound-files-common-coding/64810 "2004-09-20T10:05:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![vijayabhaskar](https://avatars.discourse-cdn.com/v4/letter/v/df788c/32.png) [@vijayabhaskar](https://forum.kirupa.com/u/vijayabhaskar)
#### Post date: [September 20, 2004, 10:05am UTC](https://forum.kirupa.com/t/set-volume-to-all-sound-files-common-coding/64810/1 "2004-09-20T10:05:58Z")

</div>

[font=Arial]Hi Guys,

In my projects i used more than 80 “.wav” files. so i used many variables. like ( vi\_snd=new Sound(); ).  
there is any possible to set volume to all files in common coding.

i try to this Sound.prototype.setvolume(40); and Sound.prototype.volume=40;

but its not work. because setvolume is a method. so we dont use prototype.  
then volum only available on media files.

if ann one help to me.

Cheers,  
S.Vijay[/font]
