flashToStage
Syntax | `result:=CallSprite(@"`IconTitle`", #flashToStage,` point`)`
Type | Method
Description | This method returns the coordinate in Authorware's Presentation window that corresponds to a specified coordinate in a Flash movie sprite. The method accepts both the Flash movie coordinate and returns the Authorware Presentation window coordinate as point values; for example, `Point(300,300)`. Flash movie coordinates are measured in Flash movie pixels, which are determined by a movie's original size when it was created in Flash. For the purposes of calculating Flash movie coordinates, point(0,0) of a Flash movie is always at its upper-left corner. (The sprite icon's `originPoint` property isn't used to calculate movie coordinates; it's used only for rotation and scaling.) The `FlashToStage` and the corresponding `stageToFlash` methods are helpful for determining which Flash movie coordinate is directly over a Presentation window coordinate. When a Flash movie is positioned in the Presentation window, its upper-left corner, expressed as point(0,0), won't always be at the upper-left corner of Authorware's Presentation window, which is also expressed as point(0,0). As a Flash sprite is stretched, its `scaleMode` property will affect the way its coordinates shift over the Presentation window. Also, Flash movies can be scaled and rotated, further complicating the task of matching coordinates. The `FlashToStage` and `stageToFlash` methods make it possible to determine with a high degree of accuracy which coordinate in a Flash movie is directly over a coordinate in Authorware's Presentation window.
Example | This statement returns the Presentation window coordinates of the upper-left corner of the Flash movie sprite.
    result:=CallSprite(@"Flash Icon", #flashToStage, Point(0,0))
Related Functions | `stageToFlash` method