Please, see this video: https://youtu.be/V941PVfGk-0
At first I select / unselect the buttons by moving the mouse (they are Sprites
listening to ROLL_OVER
and ROLL_OUT
events).
Then I use mouse wheel to scroll the window, and ROLL_OVER
/ ROLL_OUT
events for the buttons do not trigger.
Target is HTML5. In Flash the events will trigger (no bug).
To reproduce:
- Create a
Sprite
container - Create 2nd
Sprite
container, add it as child - Create any display object which listens to
ROLL_OVER
&ROLL_OUT
event, add it as 2ndSprite
container’s child - While the mouse is over the display object, change
scrollRect
property of the 2ndSprite
so that the position of the display object changes