![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
14/09/2005, 18:00
|
![Avatar de yairyosoy](http://static.forosdelweb.com/customavatars/avatar113671_1.gif) | | | Fecha de Ingreso: agosto-2005
Mensajes: 21
Antigüedad: 19 años, 5 meses Puntos: 0 | |
oie
¿cómo ves si le indicas tú mismo al movieclip hacia qué fotograma saltar dentro de su línea de tiempo?
sólo tienes qé modificar el código qe ya tienes:
onClipEvent (enterFrame) {
with (this._parent) {
porcentaje = Math.round((getBytesLoaded()/getBytesTotal())*100);
//OBSERVA!!!
mvcp.gotoAndStop(porcentaje);
//YA??
porcentaje_txt.text = "Cargando "+Math.round(getBytesTotal()/1024)+" Kb "+porcentaje+"%";
if(porcentaje == 100){
this._parent.gotoAndPlay(_currentframe+1);
}
}
} |