Project object
357
Example
The following example displays the path and name of the currently open project file in the
Output panel:
fl.trace("Project is located at: " + fl.getProject().projectURI);
See also
fl.getProject()
,
project.name
project.publishProject()
Availability
Flash 8.
Usage
project.publishProject()
Parameters
None.
Returns
A Boolean value indicating if the project was successfully published.
Description
Method; publishes the FLA files in a project.
Example
The following example publishes the project after confirming that it can be published, and
then indicates whether the project was published in the Output panel:
if (fl.getProject().canPublishProject()) {
var bSucceeded = fl.getProject().publishProject();
}
fl.trace(bSucceeded);
See also
fl.getProject()
,
project.canPublishProject()
,
projectItem.publish()
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...