hitTest
 
Syntax result:=CallSprite(@"IconTitle", #hitTest, point)
 
Type Method
 
Description  This method indicates what part of a Flash movie is directly over a specific Authorware Presentation window location. The Presentation window location is expressed as a point value; for example, Point(100,50). The hitTest method returns these values:

#background The specified location falls within the background of the Flash movie sprite.
#normal The specified location falls within a filled object.
#button The specified location falls within the active area of a button.

Example  This statement checks to see if the mouse is currently located over a button in a Flash movie sprite.

result:=CallSprite(@"Flash Icon", #hitTest, Point(CursorX, CursorY)) 

To Table of Contents Back to Previous document Forward to next document