Extending Flash |
|
|
|
| Objects > ProjectItem object > projectItem.publish() | |||
Flash 8.
projectItem.publish()
None.
A Boolean value of true if successful; false otherwise.
Method; publishes a project item. Only FLA files can be published.
The following example publishes all of the publishable items in the project:
for (var i in fl.getProject().items) {
var item = fl.getProject().items[i];
if (item.canPublish()) {
item.publish();
}
}
fl.getProject(), project.canPublishProject(), project.items, projectItem.canPublish(), projectItem.publishProfile
|
|
|
|