Extending Flash |
|
|
|
| Objects > ProjectItem object > projectItem.test() | |||
Flash 8.
projectItem.test()
None.
A Boolean value that indicates whether the item was successfully tested or not.
Method; tests a project item. If the test operation fails because the item is not a FLA or HTML file, this method returns false.
The following example tests all the FLA and HTML files in the project:
for (var i in fl.getProject().items) {
var item = fl.getProject().items[i];
if (item.canTest()) {
item.test();
}
}
fl.getProject(), project.canTestProject(), project.items, projectItem.canTest()
|
|
|
|