Link to home
Create AccountLog in
Avatar of amirsky

asked on

Flex: Objects inside HBox interfereing wiht onomouse over.

I am writing a flex app where several HBox objects are created dynamically in actionscript and I add a Image and Label as children. The HBox and children appear fine in the app. The problm is that I want to put a mouseover event handler on the HBox (that changes its background color) - which I also add with actionscript.

However, when I do the actual 'mouseovering' over the area of the image and label, the event does not fire. Only when I put the cursor "between" the image and label does the mouseover event fire.

How do I enforce that the ENTIRE area of the HBox responds to the mouseover event (including the space the image and the label take up)?
Avatar of petiex
Flag of United States of America image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account