El sitio más completo sobre programación, recursos web y herramientas online para Webmasters
Fecha: 26/11/2005

Detectar mouse con Flash

Trucos flash:
Detecta si el mouse se mantiene en el mismo lugar

Código Flash


onClipEvent (load) {
// in miliseconds
stillFor = 3000;
startTime = getTimer();
}
onClipEvent (mouseMove) {
time = 0;
startTime = getTimer();
}
onClipEvent (enterFrame) {
time = getTimer()-startTime;
if (time>=stillFor) {
time = 0;
startTime = getTimer();
// your code here
}
}
stillFor is a variable which sets the duration we want the mouse to be still for before executing our code.
Detectar mouse con Flash Categoría: Trucos, Flash


Scripts Similares:

» Abrir Popup en flash
» Adjuntar flash
» Agregar valor
» Archivos TXT en flash
» Array en asp
» Asteroides en flash
» Buscar con peliculas flash
» Buscar una string con flash
» Buscar valor
» Cambiar color con flash

Privacidad ּ Publicidad ּ Prensa ּ Premios ּ Colaborar ּ Enlazarnos ּ Mapa del Sitio ּ Aviso legal ּ Boletín ּ Contacto
2001 - 2011 | Sitio creado y mantenido por Gabriel Marcelo Rodríguez
Hosting de alta calidad a bajo costo Neolo.com.ar