The white is probably not the color of the button skin, but the color of the
parent container showing through. The skin has probably not painted those
pixels any color at all, so they're not generating mouseover events for the
skin/button.
I've solved this problem before by making sure all of the pixels on the skin
were painted with some value, even if I wanted them fully transparent. The ones
that I wanted to be transparent, I just painted with an alpha value of 0. This
all occurs in the updateDisplayList() method of the skin.
"m.frigge" <[EMAIL PROTECTED]> wrote:
Hey there,
I hope you all had a great new years.
I have got a problem with a button skin.
The skin contains a white area and it seems
that it doesn't recognize that area when I
roll over with my mouse. The Skin always
jumps back to the normal state (instead of
keeping the over skin).
Can I tell Flex that it should just use the skins
shape for the hitTest and ignore colors?!
Cheers, Max