Hi,
Ok let me break this down to you.
I have seven loops in total. I imported them into the library. i’ve put each of them in a seperate movie clip with the names loop1,loop2,…
. In those movie clips, the first (key)frame contains the action [COLOR=blue]stop();[/COLOR] . The second frame is a keyframe too and from here on the sound starts. And of course they loop.
Okay, now the buttons to control the movie (Prev, Stop, Play, Next) work fine, but let me explain the system i used. I used a var [COLOR=blue]loopnumber[/COLOR] and everytime you click Next or Prev, it '+'es 1 or '-'es 1. I also set a variable [COLOR=blue]number_to_play[/COLOR] = [COLOR=red]"_root.loop"+loopnumber[/COLOR], so you would get [COLOR=blue]_root.loop[/COLOR][COLOR=red]–number–[/COLOR], where --number-- is 1,2,3,4,5,6 or 7. To actually play the sound, i used [COLOR=blue]tellTarget([/COLOR][COLOR=red]number_to_play[/COLOR][COLOR=blue]) {gotoAndPlay(2)}[/COLOR].
That’s why i added stop(); to the first frame of those clips.
Ok, that’s about my system, check it at my site here
Ok, now my real question : how can i make a volume slider for those sounds inside my movie clips ? I’ve checked this forum already for questions like this but they don’t use the system I use. So i quite need specific help …
Thx, Voetsjoeba