Title: RE: [flashmaestro] EXPRESION QUE NO ENTIENDO

El el fondo es simplemente otra forma de decir:

        onClipEvent (enterFrame) {
                 if (!drag) {

                        //definido aparte              
                        xvel=xvel*f+(x-_x)*r;
                        yvel=yvel*f+(y-_y)*r;

                        this._x = this._x + xvel;
                        this._y = this._y + yvel;

                }
        }

donde las variables xvel y y vel estan definidas aparte.
salu2

-----Mensaje original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]En nombre de Jesus Alonso
Enviado el: mi�rcoles, 03 de abril de 2002 13:04
Para: [EMAIL PROTECTED]
Asunto: [flashmaestro] EXPRESION QUE NO ENTIENDO



HOLA, EN ESTE CODIGO.......


        onClipEvent (load) {
                 x = _x;
                 y = _y;
                 f = 0.8;
                 r = 0.3;
                 fscommand ("allowscale", 0);
        }
        onClipEvent (enterFrame) {
                 if (!drag) {
                        this._x += (xvel=xvel*f+(x-_x)*r);
                                this._y += (yvel=yvel*f+(y-_y)*r);
                }
        }


�QUIEN ME PODRIA EXPLICAR LAS EXPRESIONES

                this._x += (xvel=xvel*f+(x-_x)*r);
                this._y += (yvel=yvel*f+(y-_y)*r); ?
>

Responder a