timeScale

Reports the number of intervals per second of a movie or sound.

# Metadata

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

# Syntax

get the timeScale of player

# Examples

put the timeScale of last player into intervalsPerSecond

put (the duration of me/the timeScale of me) into runTime

# Description

Use the timeScale property to convert internal movie or sound times into seconds.

The timeScale is the number of intervals per second of a movie or sound. These intervals are used for the player startTime, endTime, duration, and currentTime properties, and you can use the timeScale property to convert from the time scale used by the movie or sound to seconds.

# Tags

# See

- **keyword:** integer, player - **property:** endTime, currentTime, properties, callbacks, duration, startTime - **object:** player - **glossary:** property