timeScale

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
get the timeScale of <player>
Associationsplayer
Summary

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

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Example
put the timeScale of last player into intervalsPerSecond
put (the duration of me/the timeScale of me) into runTime
Values
NameTypeDescription
Value

The timeScale of a player is a positive integer. This property is read-only and cannot be set.

RelatedKeyword: integer, player
Property: endTime, currentTime, properties, callbacks, duration, startTime
Object: player
Glossary: property
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's 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.

Tagsmultimedia