fl.getProject()

Availability

Flash 8.

Usage

fl.getProject()

Parameters

None.

Returns

A Project object that represents the currently open project. If no project is currently open, returns undefined.

Description

Method; returns a Project object that represents the currently open project.

Example

The following example displays the name of the currently open project in the Output panel:

fl.trace("Current project: " + fl.getProject().name);

See also

fl.createProject(), fl.openProject(), Project object