This is a known problem with the v2 components FocusManager class 'stealing
focus'.
There's an easy fix:
function onMouseDown() {
this.focusManager.enabled = false;
}
function onMouseUp() {
this.focusManager.enabled = true;
}
Note that 'focusManager' is a (hidden/invisible/unremovable) movieclip instance
in the main timeline created as soon as you use a v2
component.
regards,
Muzak
----- Original Message -----
From: "Steven Sacks | BLITZ" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Wednesday, November 29, 2006 3:47 AM
Subject: [Flashcoders] Old Flash Problem - Clips stop receiving clicks
Hey everyone,
There's an old problem with Flash that pops up every so often and I've
never been able to determine what causes it or how to solve it.
Sometimes certain clips/buttons stop receiving clicks unless you move
the mouse between clicks. Does anyone know how or why this happens and
how to get around it (hopefully not involving hitTest)?
Thanks,
Steven
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com