Hi Patrick,
MOUSE_OVER and MOUSE_OUT target the specific display objects that are
moused over and out. The ROLL_OVER and ROLL_OUT target the display
objects parent display objects as well.
Given the following display object (a) with child (b) which has children
(c) and (d) and so forth:
a
/
b
/ \
c d
\ \
e f
/
g
Say the mouse is currently over (g), but is moving onto (f) without
encountering any of the various parents. The following events will be
dispatched in the following order:
(g) mouseOut
(g) rollOut
(e) rollOut
(c) rollOut
(d) rollOver
(f) rollOver
(f) mouseOver
I hope that helps!
-Erica
AIR QE (formerly Flash Player QE)
> In the AS3 class MouseEvent, what is the use for ROLL_OVER
> and ROLL_OUT?
>
> They seem to be the same as MOUSE_OVER and MOUSE_OUT...
_______________________________________________
[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