project.canTestProject()

Availability

Flash 8.

Usage

project.canTestProject()

Parameters

None.

Returns

A Boolean value specifying whether the project can be tested.

Description

Method; determines whether the project can be tested. A project can be tested if a default document has been specified.

Example

The following example displays a message in the Output panel if the project cannot be tested:

if (!fl.getProject().canTestProject()) { 
    fl.trace("Project cannot be tested!"); 
}

See also

fl.getProject(), project.testProject(), projectItem.canTest()