Document.swapstrokeandfill(), Document.testmovie(), If you can use the – Adobe Extending Flash Professional CS5 User Manual
Page 185: Method successfully
163
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
document.swapStrokeAndFill()
Availability
Flash 8.
Usage
document.swapStrokeAndFill()
Parameters
None.
Returns
Nothing.
Description
Method; swaps the Stroke and Fill colors.
Example
The following example swaps the Stroke and Fill colors in the current document:
fl.getDocumentDOM().swapStrokeAndFill();
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
The following example tests the movie for the current document, but aborts the test movie if compiler errors exist:
fl.getDocumentDOM().testMovie(1);