Another post which has the cancelRollover is the best one to use imho.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Danny
Kodicek
Sent: Tuesday, February 06, 2007 5:54 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Detecting Rollover w/o
of
passing the event through to the hidden button.
Danny
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Danny Kodicek
Sent: Tuesday, February 06, 2007 5:54 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Detecting Rollover w/o
: Wednesday, February 07, 2007 1:23 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Detecting Rollover w/o onRollOver
Another post which has the cancelRollover is the best one to use imho.
That works in one direction (rollOver on the lower button being lost when
rolling onto
It seems like in many of the projects I'm doing I need to
have simultaneous onRollOver events. For example, a small
movie clip with additional buttons needs to enlarge when the
mouse is over it so the user can clearly click the buttons.
However, when the user mouses over a button,
One solution I've used in the past was to use collapse() and
cancelCollapse() methods. The parent rollover would use setInterval()
to call collapse() on a delay of a few milliseconds giving the child
onRollOver events the ability to be handled first. The child buttons
would call
I usually delete the rollOver handler while I'm over it, detecting the
rollOut event through hitTest instead of onRollOut... its something like
this:
myFunction
clip.onRollOver
delete clip.onRollOver
clip.onMouseMove
if(!clip.hitTest(_xmouse,_ymouse))
delete
You can use hitTest, you can use mouse position, or you can set an
interval to fire a function in 10 ms when you rollout that checks to see
if a flag is true that the other button will set true onRollOver.
function checkFlag() {
clearInterval(checkInterval);
delete checkInterval;
7 matches
Mail list logo