Extending Flash |
|
|
|
| Objects > flash object (fl) > fl.closeProject() | |||
Flash 8.
fl.closeProject()
None.
A Boolean value of true if the project was successfully closed; false if there is no project file open.
Method; closes the Flash Project (FLP) file that is currently open.
The following example attempts to close a project file, and displays a message indicating whether the file was successfully closed:
fl.trace("The project was" + (fl.closeProject() ? "closed" : "not closed"));
fl.getProject(), fl.openProject(), Project object
|
|
|
|