Buenas, tengo un problemilla con onEnterFrame.
Parece ser que no entra en el trace del prototype. He probado con this, y incluso con 
productos.foto["img"+i], pero no tira.

_global.ampliar = function(imagen, alto, ancho) {
 productos.foto.createEmptyMovieClip("img_"+prof, prof++);
 this = productos.foto["img_"+prof];
 this.loadMovie(imagen);
 this.fadeIn(7);
};
MovieClip.prototype.fadeIn = function( step) {
 this.onEnterFrame = function() {
  trace("hola");
  this._alpha += step;
  if (this._alpha>=100) {
   delete this.onEnterFrame;
  }
 };
};

La causa?
<!-------------------------------
Lista ASNativos:
subscripciones/desubscripciones
http://www.sidedev.net/asnativos
-------------------------------->

Responder a