Syntax | SetIconProperty(@" IconTitle", #viewPoint, point)
|
|||
Type | Icon property, sprite property |
|||
Description | This property controls the point within a Flash movie that's displayed at the center of the sprite's bounding rectangle. This point is specified in Flash movie pixel units. The point values are integers.
Changing the view point of a Flash movie sprite doesn't change the location of the sprite in the Presentation window, only the view of the movie within the sprite's bounding rectangle. The view point is the coordinate within a Flash movie that is displayed at the center of the sprite's bounding rectangle. The view point is always expressed relative to the movie's origin (as set by the
The
Point values specified for the
You can get and set the value of the |
|||
Example | This routine moves a Flash movie sprite down and to the right 100 Flash movie pixel units.
repeat with i := 1 to 100 NewPoint:=GetSpriteProperty(@"Flash Icon", #viewPoint)+i SetSpriteProperty(@"Flash Icon", #viewPoint, NewPoint) end repeat |
|||
Related Functions | viewH property, viewV property, viewScale property
|