This example demonstrates the difference between rollover
/
rollout
and mouseover
/ mouseout
events. The red and blue squares
are separate Shape instances within a parent Container. The Container
has both rollover/rollout and
mouseover/mouseout events.
Note how the mouseover/mouseout events are triggered whenever you move between different display objects (ex. moving from the blue to red shape), but the rollover/rollout events are only triggered when you leave the Container's aggregate contents.