Les pongo el código:
Código :
stop();
var precargador_mcl:MovieClipLoader = new MovieClipLoader();
var listener:Object = new Object();
Stage.showMenu=false;
listener.onLoadStart = function(target_mc) {
trace("Iniciando");
_root.attachMovie("barra", "barra_mc", _root.getNextHighestDepth());
_root.barra_mc._y = Stage.height/2;
_root.barra_mc._x = Stage.width/2;
};
listener.onLoadProgress = function(target_mc, loadedBytes, totalBytes) {
trace("Cargando...");
var porcentaje:Number;
porcentaje = Math.round((loadedBytes*100)/totalBytes);
_root.barra_mc.gotoAndStop(porcentaje);
target_mc._visible=false;
target_mc.stop();
};
listener.onLoadComplete = function(target_mc) {
trace("Cargado");
_root.barra_mc.removeMovieClip();
target_mc._visible=true;
target_mc.play();
};
precargador_mcl.addListener(listener);
bAtras.onRelease = function() {
_root.precargador_mcl.loadClip("contenidos/tema4/44.swf", _root.contenidos);
};
bAdelante.onRelease = function() {
_root.precargador_mcl.loadClip("contenidos/tema4/46.swf", _root.contenidos);
};Lo que quiero es que bAtras cargue el último frame de la película 44.swf
A ver si alguien sabe qué ocurre. Muchas gracias de antemano.
