MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 363

Extending flash
Table of Contents

Advertisement

Example
The following example displays the path and name of each item in the project in the
Output panel.
files = fl.getProject().items;
for (i = 0; i < files.length; i++) {
fl.trace(files[i].itemURI);
}
See also
,
fl.getProject()
projectItem.displayName
projectItem.publish()
Availability
Flash 8.
Usage
projectItem.publish()
Parameters
None.
Returns
A Boolean value of
true
Description
Method; publishes a project item. Only FLA files can be published,
Example
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();
}
}
See also
,
fl.getProject()
project.canPublishProject()
projectItem.canPublish()
if successful;
otherwise.
false
,
projectItem.publishProfile
,
project.items
,
project.items
,
ProjectItem object
363

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents