Flex makes it possible to define a sprite as a custom hitarea for components that extend UIComponent. Defining a custom hitarea can become handy when dealing with complex graphical objects that consist of multiple elements such as bitmap images.
Problem:
Assigning a sprite to the objects hitarea variable doesn’t show any effects.
Solution:
The hitarea also has to be added as a child to the display object.