originV
 
Syntax SetIconProperty(@"IconTitle", #originV, number)

SetIconProperty(@"IconTitle", #originV, number)
 

Type Icon property, sprite property
 
Description  This property controls the vertical coordinate of a Flash movie's origin point. You set the originV 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 occur. The origin point can be set with floating-point precision using the separate originH and originV properties, or it can be set with integer precision using the single originPoint property.

You can set the originV property only if the originMode property is set to #point.

You can get and set the originV property. The default setting is 0.
 

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, originMode property, originPoint property

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