# Sound Fade In - Volume Control

**URL:** <https://forum.kirupa.com/t/sound-fade-in-volume-control/68955>\
**Category:** flash\
**Created:** [October 30, 2004, 5:01pm UTC](https://forum.kirupa.com/t/sound-fade-in-volume-control/68955 "2004-10-30T17:01:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KevinCarleo](https://avatars.discourse-cdn.com/v4/letter/k/a88e57/32.png) [@KevinCarleo](https://forum.kirupa.com/u/KevinCarleo)\
**Post date:** [October 30, 2004, 5:01pm UTC](https://forum.kirupa.com/t/sound-fade-in-volume-control/68955/1 "2004-10-30T17:01:46Z")

</div>

Hey Guys,

I am currently using AS to call a sound object:

```auto
onClipEvent (load) {
	homeSound = new Sound(this);
	homeSound.attachSound("homemusic");
	homeSound.start(0, 99);      
	homeSound.setVolume(0); 
}
onClipEvent (enterFrame) {
	homeSound.setVolume(_root.volume);
}

```

[color=#006400][/color]  
[color=black]I am also currently using a Volume Slider. It works great and it adjusts the Volume properly, but what I would like to do is to make the sound fade in; maybe by dynamically moving the Volume Slider some how (to about 50%, maybe over 50-65 frames). You can see the Volume Control slider in action by visiting my site (click my logo below).[/color]
