Whats wrong with my code… the sound does not work
thanks
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();
};
}