AS 3.0 (Detectar cursor fuera swf)
Posted by Administrador | Filed under Actionscript 3.0
No hace mucho, leyendo por DMSTK encontré un post donde se consultaba si existia alguna forma de controlar si el usuario abandonaba con el cursor el ámbito de su escenario. Pues bien, ahora ya existe un evento para controlarlo.
stage.addEventListener(Event.MOUSE_LEAVE, abandona);
function abandona(event:Event):void {
trace("Fuera del swf");
}
Julio 24th, 2006 at 9:18 pm
[...] As 3.0 (Detectar cursor fuera swf) As 3.0 (Cambiar fps dinámicamente) As 3.0 (Adiós al attachMovie) As 3.0 (Casting de objetos) As 3.0 (TimerEvent.TIMER) As 3.0 (flash.display.Sprite) As 3.0 (flash.utils.Dictionary) Además recomendación de Bruno estos enlaces en Ingles: [...]
Octubre 6th, 2006 at 1:02 pm
[...] Sergio Alvarez As 3.0 (Detectar cursor fuera swf) As 3.0 (Cambiar fps dinámicamente) As 3.0 (Adiós al attachMovie) As 3.0 (Casting de objetos) As 3.0 (TimerEvent.TIMER) As 3.0 (flash.display.Sprite) As 3.0 (flash.utils.Dictionary) [...]
Octubre 17th, 2006 at 12:14 am
[...] As 3.0 (Detectar cursor fuera swf) As 3.0 (Cambiar fps dinámicamente) As 3.0 (Adiós al attachMovie) As 3.0 (Casting de objetos) As 3.0 (TimerEvent.TIMER) As 3.0 (flash.display.Sprite) As 3.0 (flash.utils.Dictionary) Suscripción RSS a los comentarios de la entrada. Envía tu comentario [...]
Octubre 17th, 2006 at 9:31 pm
Buen tip! hay mucho que explorar todavía…
Gracias por la nota
Joan
Octubre 17th, 2006 at 9:43 pm
no hay de que Joan, un placer