Esta es un funci�n para hacer batir la ventana.

<script language="JavaScript">
<!--
        function batir_xy(n) {
        if (self.moveBy) {
                for (i = 10; i > 0; i--) {
                        for (j = n; j > 0; j--) {
                        self.moveBy(0,i);
                        self.moveBy(i,0);
                        self.moveBy(0,-i);
                        self.moveBy(-i,0);
                    }
              }
           }
        }

        function batir_x(n) {
        if (self.moveBy) {
                for (i = 10; i > 0; i--) {
                        for (j = n; j > 0; j--) {
                        self.moveBy(i,0);
                        self.moveBy(-i,0);
                    }
              }
           }
        }

        function batir_y(n) {
        if (self.moveBy) {
                for (i = 10; i > 0; i--) {
                        for (j = n; j > 0; j--) {
                        self.moveBy(0,i);
                        self.moveBy(0,-i);
                    }
              }
           }
        }



</script>


Se le llamar� desde Flash del tipo: javascript batir_xy(5)

At 06:32 08/02/02 -0800, you wrote:

Hola estoy buscando un efecto llamando "temblo" .
Consta de un bot�n que al pulsarlo al monitor parece
que el han dado una patada.

Alguien me puede pasar el "fla" el link o cualquier
dato, gracias.

Lo tenia en mi disco duro hasta que por error
desaparecio en un formateo.

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

Albert Corral
MAGMA3, SCCL

[EMAIL PROTECTED]
http://www.magma3.com

Responder a