saberlegend
21 posts
|
Basicly.
i made a virtual piano game check it out on my user name.
Now, problem is, im making a new version where theres drum loops.
Sorted out the drum loops, theyre fine, you click them and they loop on and on and on. Untill you stop them.
Problem is. when i turn them on , and try to play the piano with it, the drum loop turns off!
Anyone know how to fix this?
Any help apreciated.
Thanks.
,
Sincerely, Saberlegend
|
saberlegend
21 posts
|
come on arcane, you said to post here and it hasnt worked!
|
Kalinium
764 posts
|
You’re probably making one sound object play multiple sounds at once – you need to make a sound object for each sound you want playing at the same time, I think.
|
saberlegend
21 posts
|
really?
well, theres the keybored which is one movieclip with lots of other movieclips inside it.
and thenn the drum looops are all seperate,..
|
Kalinium
764 posts
|
What code are you using to play the sounds?
|
saberlegend
21 posts
|
well. i learnt from a tutorial .
but the script is….
on (press) {
goKey(60);
}
and also this
stop();
function goKey(num){
stopAllSounds();
gotoAndPlay(“n” + num);
}
because on a timeline there frames have the sound in them..
its like one long timeline with all the notes in them and stop(); on each note.
and i dunno why it doesnt work
|
saberlegend
21 posts
|
HOLD UP DJJJ!!!!
stop that right now…
ive put stop all sounds.
NO way..
no wonder it did that lol.
thanks anyways kalinium lol .
hahahahah my mate was going into every detail but couldnt find it.
and i just found it i put the place the tutorial says into it and forgot to take it out .
DUHH***
lol
thanks!
|