Syntax | SetIconProperty(@" IconTitle", #originH, number)
|
|||
Type | Icon property, sprite property |
|||
Description | This property controls the horizontal coordinate of a Flash movie's origin point. You set the originH property in Flash movie pixel units; it can have a floating-point value.
The origin point is the coordinate in a Flash movie around which scaling and rotation occurs. The origin point can be set with floating-point precision using the separate
You can set the
You can get and set the |
|||
Example | This example uses the originMode property to set up a Flash movie sprite so its origin point can be set to a specific point. It then sets the horizontal and vertical origin points to the last point where the user clicked.
SetSpriteProperty(@"Flash Icon", #originMode, #point) SetSpriteProperty(@"Flash Icon", #originH, ClickX) SetSpriteProperty(@"Flash Icon", #originV, ClickY) |
|||
Related Functions | originV property, originMode property, originPoint property.
|