Movie::HitTest

Movie::HitTest
virtual bool HitTest(float x, float y, HitTestType testCond = HitTest_Shapes, unsigned controllerIdx = 0) = 0;
Description

HitTest determines whether a given viewport coordinate falls within a SWF file drawn component or not. This method is useful if you need to be able to click-through in the areas which are not drawn by the movie.

Parameters
Parameters 
Description 
float y 
A movie viewport relative y coordinate used for hit-testing. 
HitTestType testCond = HitTest_Shapes 
Condition that tests whether hit-testing is done based on shape geometry. 
unsigned controllerIdx = 0 
The index of the controller used for focusing. 
Return Value

A Boolean value of 1 if a movie-drawn shape exists at the specified coordinate, 0 otherwise.