Contents

Objects navigator

Script document

Use the document object to get or set properties of the HTML document, when in a web browser, or the movie, when in the player.


title • The title of the document or movie.

document.title

Example:


alert("The current movie is called "+document.title+".");

location • The location or URL of the document or movie.

document.location

body • The BODY element of the HTML document. In the player, this always returns null.

document.body

Objects navigator