Player1 = new Player(this);
Player1.Source("snd_intro.mp3");
(this works fine and plays the music)
I tried the Events.COMPLETED
EventDispatcher.registerEventForDelegation(this, "Player1", Events.COMPLETED);
if (component.equals(Player1) && eventName.equals(Events.COMPLETED)) {
player1Completed();
return true;
}
but it doesn't appear to work i.e. player1Completed() is never triggered. Is there a way to do it using the java bridge events?