document.testMovie()

#### Availability

Flash MX 2004.

#### Usage

document.testMovie([Boolean abortIfErrorsExist])

#### Parameters

abortIfErrorsExist Boolean; the default value is false. If set to true, the test movie session will not start and the .swf window will not open if there are compiler errors. Compiler warnings will not abort the command. This parameter was added in Flash Professional CS5.

#### Returns

Nothing.

#### Description

Method; executes a Test Movie operation on the document.

#### Example

javascript
The following example tests the movie for the current document, but aborts the test movie if compiler errors exist:
fl.getDocumentDOM().testMovie(1);


#### See also

document.canTestMovie() (../Document_object/docume27.md), document.testScene() (../Document_object/docu5979.md)

<span id="document.testScene()" class="anchor"></span>