Name

$version “Global” Property — the version of the Flash Player

Availability

Flash 4 Build 11 and later; deprecated in Flash 5 in favor of get Version

Synopsis

_root.$version

Access

Read-only

Description

The $version property contains the same string as the return value of the global getVersion( ) function (operating system, followed by Player version information). The $version property was introduced midway through the life cycle of the Flash 4 Player and has been replaced by the getVersion( ) function. It is technically not a global property, but a property of the main movie timeline; from any other movie clip timeline, it must be accessed as _root.$version.

See Also

getVersion( )

Get ActionScript: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.