Ver Mensaje Individual
  #7 (permalink)  
Antiguo 22/07/2007, 16:02
Avatar de ceaped
ceaped
 
Fecha de Ingreso: febrero-2004
Mensajes: 2.185
Antigüedad: 20 años, 2 meses
Puntos: 9
Re: Código de player 6 no funcionaa en 8

No logro que se visualece en el player 8. Funciona en el 6, pero en 8 no. Ya hice varios cambios y la verdad no me arroja ningun resultado. No veo ningun error de sintaxis. Si me pueden ayudar se los agradeceria.

_root.onEnterFrame = function() {
j++;
j == 100 ? j=0 : null;
if (j%2 == 0) {
i>50 ? i=0 : null;
i++;
attachMovie("circle", "squ_"+i, i);
_root["squ_"+i]._alpha = 0;
_root["squ_"+i].onEnterFrame = function() {
if (this.primera != true) {
this.maximo = false;
this.primera = true;
this.posx = random(550);
this.posy = random(400);
this._x = 275;
this._y = 200;
this._xscale = 1;
this._yscale = 1;
this.velx = random(50);
this.vely = random(50);
}
if (this.maximo == true) {
this._alpha -= 5;
this._xscale -= 5;
this._yscale -= 5;
if (this._alpha<=0) {
this.onEnterFrame = null;
this.removeMovieClip();
}
}
if (this.maximo == false) {
this._alpha += 5;
this._xscale += 2;
this._yscale += 2;
if (this._alpha>=100) {
this.maximo = true;
}
}
this._x += (this._x-this.posx)/this.velx;
this._y += (this._y-this.posy)/this.vely;
};
}
};
__________________
Diseñador Gráfico publicitario