# AS2 sound control

**URL:** <https://forum.kirupa.com/t/as2-sound-control/316935>\
**Category:** flash\
**Created:** [December 6, 2010, 1:24pm UTC](https://forum.kirupa.com/t/as2-sound-control/316935 "2010-12-06T13:24:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavel963](https://avatars.discourse-cdn.com/v4/letter/p/51bf81/32.png) [@pavel963](https://forum.kirupa.com/u/pavel963)\
**Post date:** [December 6, 2010, 1:24pm UTC](https://forum.kirupa.com/t/as2-sound-control/316935/1 "2010-12-06T13:24:08Z")

</div>

im trying to get a simple thing to work with sound but so far no luck.  
i have a flash project with a number scene and im trying to have different sounds in each. also im trying to have sound control in certain parts of the project. i want sound to start of

lalbg = new Sound(this);  
lalbg.attachSound(“lalbg”);  
lalbg.start();  
lalbg.setVolume(10);

at volume 10 and play till the end of the scene, and increase by 10 on each roll over of a button i tried everything and cant get it to work

thx pavel
