document.id

Availability

Flash CS3 Professional.

Usage

document.id

Description

Read-only property; a unique integer (assigned automatically) that identifies a document during a Flash session. Use this property in conjunction with fl.findDocumentDOM() to specify a particular document for an action.

Example

The following example displays the document ID for the current document:

fl.trace("Current doc's internal ID is: " + fl.getDcoumentDOM().id); 

See also

fl.findDocumentDOM()