# Sound problem

**URL:** <https://forum.kirupa.com/t/sound-problem/279692>\
**Category:** Uncategorized\
**Created:** [January 17, 2009, 6:40pm UTC](https://forum.kirupa.com/t/sound-problem/279692 "2009-01-17T18:40:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gencoglu](https://avatars.discourse-cdn.com/v4/letter/g/898d66/32.png) [@gencoglu](https://forum.kirupa.com/u/gencoglu)\
**Post date:** [January 17, 2009, 6:40pm UTC](https://forum.kirupa.com/t/sound-problem/279692/1 "2009-01-17T18:40:31Z")

</div>

Whats wrong with my code… the sound does not work 😕  
thanks

```php

var bir = new Array(m1, m2, m3, m4, m5);
var hedef = new Array(h1, h2, h3, h4, h5);
var say=0;
for (i=0; i<=bir.length; i++) {
 bir*.j = i;
 bir*.onPress = function() {
  startDrag(this);
  this.onEnterFrame = function() {
   if (this.hitTest(hedef[this.j])) {
    //.........................
    snd = new Sound(this);
     snd.attachSound("ses1");
   this.snd.start();
   //..................
   unloadMovie(hedef[this.j]);say++;
   kutu.text=say*10;
   
   }
  };
 };
 bir*.onRelease = function() {
  stopDrag();
 };
}
 

```
