SWiSH Player Support
SWF6 or later - Not Supported (Use File | Test | Browser/Player)
Syntax
mySprite.endFill()
Arguments
controlX: integer value that defines the horizontal position relative to the registration point of the parent Sprite.
controlY: integer value that defines the vertical position relative to the registration point of the parent Sprite.
anchorX: integer value that defines the horizontal position relative to the registration point of the parent Sprite of the anchor point.
anchorY: integer value that defines the vertical position relative to the registration point of the parent Sprite of the anchor point.
Returns
Nothing.
Description
Method; applies a fill to the lines and curves added since the last beginFill or beginGradientFill. If the current drawing position is not the same as the position specified by a previous moveTo method, the path is closed with a line and filled.