Hello everybody, I have one strange problem during the execution of one sequence.
Before it turns all works metre from the successive one not.
In fact the sequence is not ended to play and already active the loop Game.
(Excuse-me for my english)
Here de pseudo-code:
While (Lives>0)
{
thFant = new Thread(…);
Song[ChangeLevelSong].start(); // wave sequence or midi.
do{
}while (!listenerChangeLevel.equals(MyPlayListener.END_OF_MEDIA));
thFant.start();
Loop Game
{
...............
...........
...............
}
// Here the Thread die.
}