Lo mas cercano que he conseguido es este codigo que hace un easing a la linea de tiempo... pero solo funciona cuando no lo pruebas como descarga... osea.. no sirve...
Código ActionScript :
/* Ease/animate a MovieClip's timeline Ever wanted to animate a timeline dynamically, from its current frame to a target frame? This prototype allows you to do this, with simple easing. This is great for making smooth preloaders, which don't skip around. Just use 'easeTimelineTo(percent)' intead of the usual 'gotoAndStop(percent)' routine. Or strip out the gotoAndStop line from the prototype, and make it work in your preloader. */ //ease a timeline MovieClip.prototype.easeTimelineTo = function(finalFrame,power){ if(power==undefined){ power=6 }; var rounding; finalFrame>this._currentframe ? rounding="ceil" : rounding="floor"; this.createEmptyMovieClip("easeTimeline_mc",4).onEnterFrame = function(){ this._parent.gotoAndStop( this._parent._currentframe + Math[rounding]((finalFrame-this._parent._currentframe)/power) ); if(this._parent._currentframe==finalFrame){ this.removeMovieClip() }; } } //example of timline easing stripped out and put into preloader: //basic preloader script with added easing of progress display(place in a 100 frame long animation) _root.stop(); stop(); this.onEnterFrame = function(){ bl = _root.getBytesLoaded(); bt = _root.getBytesTotal(); percent = Math.ceil((bl/bt)*100); var ease = 6; this.gotoAndStop( this._currentframe + Math.ceil((percent-this._currentframe)/ease) ); per.text = int(percent)+"%"; if(percent==100 && this._currentframe==100){ _root.play(); delete this.onEnterFrame; } }
Alguna sugerencia?
PRELOADER CIRCULAR... NO DE BARRA LINEAL..
GRACIAS DE ANTEMANO
-Roy