# Trouble with sound!

**URL:** <https://forum.kirupa.com/t/trouble-with-sound/149663>\
**Category:** flash\
**Created:** [May 31, 2005, 1:49pm UTC](https://forum.kirupa.com/t/trouble-with-sound/149663 "2005-05-31T13:49:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oli\_G](https://avatars.discourse-cdn.com/v4/letter/o/f05b48/32.png) [@Oli\_G](https://forum.kirupa.com/u/Oli_G)\
**Post date:** [May 31, 2005, 1:49pm UTC](https://forum.kirupa.com/t/trouble-with-sound/149663/1 "2005-05-31T13:49:27Z")

</div>

Hi guys

I have a movie clip on the main timeline. Within it, are several other movie clipe. I want a looping sound to be triggered when each member is clicked. here is the following code I have, but so far it aint working! I set them all to play initially, so that they are in sync. I imagine this is just a linkage issue of sorts.

```auto
stop();
this.createEmptyMovieClip('sound1Holder', 100);
this.createEmptyMovieClip('sound2Holder', 101);
this.createEmptyMovieClip('sound3Holder', 102);
guitar = new Sound(sound1Holder);
drumbass = new Sound(sound2Holder);
tribal = new Sound(sound3Holder);
guitar.attachSound('guitar');
drumbass.attachSound('sound2');
tribal.attachSound('sound3');

guitar.setVolume(0);
drumbass.setVolume(0);
tribal.setVolume(0);

guitar.start();
guitar.onSoundComplete = function() {
	this.start();
};
drumbass.start();
drumbass.onSoundComplete = function() {
	this.start();
};
tribal.start();
tribal.onSoundComplete = function() {
	this.start();
};
//silence_btn.onRelease = function() {
//mother_mc.gotoAndPlay(11);
//child_mc.gotoAndPlay(11);
//girl_mc.gotoAndPlay(11);
//};
blinds_mc.onRelease = function() {
	blinds_mc.gotoAndPlay(2);
};
ears_mc.onRelease = function() {
	ears_mc.gotoAndPlay(2);
};
gunk_mc.onRelease = function() {
	gunk_mc.gotoAndPlay(2);
	rightface_mc.gotoAndPlay(2);
};
leftface_mc.onRelease = function() {
	leftface_mc.gotoAndPlay(2);
};
boy_mc.onRelease = function() {
	boy_mc.gotoAndPlay(5);
	sound1.setVolume(100);
};

```

At the moment im just focusing on getting the one with boy\_mc to work… any ideas?

cheers
