This content has been marked as final. Show 3 replies
Am i the only one with this problem?
Probably you are today.
I see a few things and I'm not quite sure exactly the solution.
First why are you using eval() in your sound constructor? I would either use:
like you have used elsewhere or even better I would capture a reference from the attach movie and use that.
var curClip:MovieClip=this.attachMovie("vierkant","vierkant"+v, etc....
Which brings us to the next problem. You are creating a Sound object each time, but you aren't giving the sound a new name each time. You are reassigning it to the same geluidjel variable. So you need to give each sound its own name as well as attach it to a different clip. I might do that like this:
Or something like that. Of course then you will have to iterate through all you clips on stage and look for their geluidjel property to control each one. Ontdekt dat merk?
Thanks for the tips! After spending lots of hours, testing.. and testng.. i finally got it to work!
Here is my code: