Syntax | SetIconProperty(@" IconTitle", #originMode, value)
|
||||||
Type | Icon property, sprite property |
||||||
Description | This property controls how the origin point of a Flash movie is set. The origin point is the point around which scaling and rotation occurs. The originMode property can have these values:
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 | originH property, originV property, originPoint property
|