This content has been marked as final. Show 4 replies
mouseOver and mouseOff seem to be working fine, as they do not trigger when you mouse over/off the padding to the right.
But this is NOT normal to me as the padding is part of the Label object (represented by the Box around) !
Why would inner padding not be part of its surrounding Object ?
Although you might never move an object from one container to another using addChild() / removeChild(), if you did, you might want to retain the same amount of padding around the object. In that case you would want the padding to be part of the object, not its container.
Of course I understand that you often look at the various objects that are in a container to determine what padding is necessary to achieve a desired look and feel.
I'm sorry but i don't see the link between my problem and your last posting.
What i just wonder is whether it is normal that the padding is not recognised as being part of its related object in the context of events (mouseOver) ?