### regPoint

Syntax: | `the regPoint of member` `whichFlashMember`
Type: | Cast member property
Description: | This property sets the registration point of a Flash movie cast member. The `regPoint of member` property is specified as a Director point value; for example, point(16,16).
| When a Flash movie cast member is first inserted into the cast, its registration point is set at its center and its `centerRegPoint` property is by default set to `TRUE`. If you subsequently use the `regPoint` property to reposition the registration point, the `centerRegPoint` property is automatically set to `FALSE`.
| The `regPoint of member` property can be tested and set. The default setting is the center of the movie.
Example: | This handler accepts a reference to a Flash cast member as a parameter and then sets the registration point of the specified cast member to its upper-left corner.

    on upperLeftReg whichFlashMovie
    	set the regPoint of member whichFlashMovie = point(0,0)
    end

Related Lingo: | `centerRegPoint` property

Previous | Next