endTime

Specifies the end of the selected portion of a sound or movie.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

set the endTime of player to endPoint

# Examples

set the endTime of player 1 to 1000

# Description

Use the endTime property to set or get the selection in a player.

If the playSelection property is true, only the selected portion plays, so you can use the startTime and endTime properties of the player to play whatever portion of the sound or movie you want.

The endTime is the number of the interval where the selection ends. (The number of intervals per second is specified by the player's timeScale property. The total number of intervals is given in the player duration property.) If there is no selection, the endTime is empty.

# Tags

# See

- **keyword:** selection, integer, player - **property:** looping, showSelection, startTime, duration, properties, selected, timeScale - **message:** playStarted, selectionChanged - **object:** player - **glossary:** property