I would like to create a Button with a DropShadow, and animate its Label off the visible bounds of the button. I'm doing this via the new Spark Skins.
The problem is, I'm getting MouseEvents when I rollOver the DropShadow, and, if the Label.x == button.width*2, then if I roll off to the right, it's still not registering a rollOut event for the button, even though the Label is outside the buttons bounds (behind a mask).
How do I say, "only let the button register mouse events within this area"?
Thanks so much for your help, I never really have gotten over this issue.
Here's the code for the skin: