# Sound \[MX\]

**URL:** <https://forum.kirupa.com/t/sound-mx/7646>\
**Category:** flash\
**Created:** [November 5, 2002, 2:13am UTC](https://forum.kirupa.com/t/sound-mx/7646 "2002-11-05T02:13:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryall](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@Ryall](https://forum.kirupa.com/u/Ryall)\
**Post date:** [November 5, 2002, 2:13am UTC](https://forum.kirupa.com/t/sound-mx/7646/1 "2002-11-05T02:13:44Z")

</div>

Hey everyone,  
I am using this code in a prototype for a group of menu buttons:

```php

MCbutton.prototype.grow = function(){
     twangSound = new Sound(this);
     twangSound.attachSound("twang");
     twangSound.start(0, 1);
     this.onEnterFrame = function(){
          this.targetScale = 145;
          this.scaleMe();
          this.checkscale();
     }
};

```

How do I control the volume of the sound through AS?

Peace

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 5, 2002, 7:46am UTC](https://forum.kirupa.com/t/sound-mx/7646/2 "2002-11-05T07:46:58Z")

</div>

Oh, come on Ryall, not you!! :\*(

OK, answer: read the tutes, check the best of Kirupa. :evil: :evil: :evil: :evil:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 5, 2002, 6:01pm UTC](https://forum.kirupa.com/t/sound-mx/7646/3 "2002-11-05T18:01:20Z")

</div>

Haha… I guess we all have our moments! I could have sworn they didnt mention it in that Flashkit link you gave in the best-of-kirupa… but alas, after rechecking this morning I saw it right away, must have been slipping yesterday. :cowboy:

It’s all good now, got the info I need, thanks.

Peace
