Ver Mensaje Individual
  #16 (permalink)  
Antiguo 15/12/2002, 22:12
Avatar de Ludwingg
Ludwingg
 
Fecha de Ingreso: diciembre-2002
Ubicación: San Salvador
Mensajes: 951
Antigüedad: 21 años, 4 meses
Puntos: 5
+ Flash 4, 5, MX

Pregunta: Cómo hago el efecto temblor del navegador???

Respuesta: Primero crear el boton el boton y en acciones incluir:

Código:
On(release){
     getURL(“javascript:shake(2)”);
}
En variables: Don´t send

Para hacer el efecto de que la ventana del navegador tiemble, tienes que inserta el siguiente código JavaScript en el documento html, que contiene la película flash:

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function shake(n) {
if (parent.moveBy) {
for (i = 10; i > 0; i--) {
for (j = n; j > 0; j--) {
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
}
}
}
}
// End -->

Última edición por maltos; 19/05/2003 a las 00:59