Ver Mensaje Individual
  #12 (permalink)  
Antiguo 30/03/2007, 13:59
Avatar de SAPINTO
SAPINTO
 
Fecha de Ingreso: junio-2005
Ubicación: just another fucked up pl
Mensajes: 777
Antigüedad: 18 años, 10 meses
Puntos: 0
Re: un swf a mayor fps

debe ser asi:

archivo frameRate.as
Código:
MovieClip.prototype.frameRate = function(fps) {
   this.stop();
   if (this.__fpsInt__ != undefined) {
      clearInterval(this.__fpsInt__);
      delete this.__fpsInt__;
   }
   this.__nextFrame__ = function(ptr) {
      if (ptr._currentframe<ptr._totalframes) {
         ptr.nextFrame();
      } else {
         ptr.gotoAndStop(1);
      }
      updateAfterEvent();
   };
   this.__fpsInt__ = setInterval(this.__nextFrame__, Math.round(1000/fps), this);
};
primer frame
Código:
#include "frameRate.as"
var carga:MovieClipLoader = new MovieClipLoader();
carga.loadClip("video", contenedor1);
contenedor1.frameRate(12);
es una de las correcciones que le hacen al codigo que te mande.
__________________
if(user=="female" && user>="hot"){
user.gotoAndStop("sapinto's bed");
}
mi portafolio