Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/08/2007, 12:59
tazmania22
 
Fecha de Ingreso: agosto-2007
Mensajes: 21
Antigüedad: 16 años, 8 meses
Puntos: 0
Re: como se interpreta _w0 ??

Bueno, hay una aplicacion conocida como FOTOTEQUE (fototeca) creo que varios la conocen, yo me la baje de la web pero me olvide de donde XD!!

la estoy tratando de interpretar sobre todo aqui :


MovieClip.prototype.chargement_jpg = function(jpg, couleur, larg, haut) {
var cible = this.dest;
cible._alpha = 0;
cible.loadMovie(jpg);
var id = setInterval(function (mc) {
var d = mc["dest"];
if (d._width > 0) {
clearInterval(id);
d.memw = d._width;
d.memh = d._height;
d.proportion = (d._width / d._height);
d._width = Math.floor(mc._w0 * 2);
d._height = Math.floor(mc._h0 * 2);

d._alpha = 99;
with (d) {
lineStyle(4, 0x444444, 80);
moveTo(this._x + memw + 1, this._y - 1);
lineTo(this._x + memw + 1, this._y + memh + 1);
lineTo(this._x - 1, this._y + memh + 1);
lineStyle(4, 0xaaaaaa, 80);
lineTo(this._x - 1, this._y - 1);
lineTo(this._x + memw + 1, this._y - 1);
}
// --------------------
mc._alpha = 99;
mc._width = mc._w0;
mc._height = mc._h0 * 1.5;

mc.onPress = cliquer;
// mc.onRelease = relacher;
// mc.onReleaseOutside = relacher;
//--------------------
} else {
var pourcent = (d.getBytesLoaded() / d.getBytesTotal());
mc._width = pourcent * mc._w0;
mc._height = pourcent * mc._h0 * 1.6;

}
}, 100, this);
};


=========================
ahi estan los benditos _h0 y _w0 que ya los busque por todos lados y no encuentro...... =(