Extending Flash |
|
|
|
| Objects > Project object > project.testProject() | |||
Flash 8.
project.testProject()
None.
A Boolean value indicating if the project was successfully tested.
Method; tests the project. A project must have a default document to be tested.
The following example tests the project after confirming that it can be tested, and then indicates whether the project was tested in the Output panel:
if (fl.getProject().canTestProject()) {
var bSucceeded = fl.getProject().testProject();
}
fl.trace(bSucceeded);
fl.getProject(), project.canTestProject(), project.defaultItem, projectItem.test()
|
|
|
|