grazieOriginariamente inviato da BRX
codice:onClipEvent (load) { this._visible = 0; _root.stop(); } onClipEvent (enterFrame) { car = _root.getBytesLoaded(); tot = _root.getBytesTotal(); if (car == tot) _root.nextFrame(); this._visible = 1; perc = barra._xscale = Math.round((car / tot) * 100); percentuale = perc + "%"; }!
posso chiederti un altro favore
avevo fatto questo preload
stop()
_root.onEnterFrame = function(){
if (this.getBytesLoaded() == this.getBytesTotal()){
delete this.onEnterFrame
gotoAndPlay(2)
}else{
this.istanzaCampoTesto_txt.text = Math.round((this.getBytesTotal()-this.getBytesLoaded())/(this.getBytesTotal()/1000))
}
updateAfterEvent()
}
praticamente creando un testo dinamico al posto del numero percentuale c'era un valore che andava in countdown fino a zero
è possibile integrarli??
nel senso che il primo mantiene tutte le sue caratteristiche eccetto il numero percentuale che diventa countdown
si puo?