enum HitTestType { HitTest_Bounds = 0, HitTest_Shapes = 1, HitTest_ButtonEvents = 2, HitTest_ShapesNoInvisible = 3 };
HitTestType describes the type of hit testing performed by the HitTest function.
Members |
Description |
HitTest_Bounds = 0 |
Hit testing will be done based on movie clip bounding boxes. |
HitTest_Shapes = 1 |
Hit testing will be done based on shape geometry, returning true if the shape is hit. |
HitTest_ButtonEvents = 2 |
Hit testing will be similar to internal logic used for movie clips with button event handlers. A shape will be hit-tested as true only if it belongs to a button or a movie clip with button state event handlers. |
HitTest_ShapesNoInvisible = 3 |
Hit testing will be similar to one with HitTest_Shapes flag, the only difference is HitTest will ignore currently invisible shapes. |
GFx_Player.h