Ho realizzato un semplice MoviCLip che raggruppa le funzioni play/stop; ho un problemino: quando termina la riproduzione del file mp3 vorrei che ricomparisse il pulsante play. Come posso fare? Grazie
Codice associato al play:
this.play_mc.onPress = function() {
mySound = new Sound();
mySound.loadSound(this._parent._parent.directoryMP 3_param +
this._parent._parent.mp3Names_param [this._parent._parent.imagePointer], false);
//mySound.loadSound("ciao.mp3");
mySound.start();
gotoAndStop("stop");
}
Codice Associato al pulsante di stop:
this.stop_mc.onPress = function() {
mySound.stop();
gotoAndStop("play");
}

Rispondi quotando