Extending Flash |
|
|
|
| Objects > ProjectItem object > projectItem.canTest() | |||
Flash 8.
projectItem.canTest()
None.
A Boolean value specifying whether a project item can be tested.
Method; determines whether an item can be tested. An item can be tested if it is a FLA or HTML file.
The following example displays a message in the Output panel if the first item in the project cannot be tested:
var item = fl.getProject().items[0];
if (!item.canTest()) {
fl.trace(item.name + " cannot be tested!");
}
fl.getProject(), project.canTestProject(), project.items, projectItem.test()
|
|
|
|