# MovieClip.endFill()

#### Availability

Flash Player 6.

#### Usage

    my_mc.endFill()

#### Parameters

None.

#### Returns

Nothing.

#### Description

Method; applies a fill to the lines and curves added since the last call to the `beginFill` or `beginGradientFill` method. Flash uses the fill that was specified in the previous call to `beginFill` or `beginGradientFill`. If the current drawing position does not equal the previous position specified in a `moveTo` method and a fill is defined, the path is closed with a line and then filled.