projectItem.publishProfile
Availability
Flash 8.
Usage
projectItem.publishProfile
Description
Property; a string that specifies the publish profile to use when publishing a project item (FLA
file). The publish profile must be an existing profile in the item, or a subsequent call to
projectItem.publish()
If the item is not a FLA file, this property is an empty string (""), and any attempts to set this
property fail.
Example
The following example sets the publish profile of all the items in the project to a specified
profile that already exists in the item, and then publishes each item. If the profile doesn't exist
in a file, the file isn't published.
var items = fl.getProject().items;
for ( i = 0 ; i < items.length ; i++ ) {
items[i].publishProfile = "mySpecialProfile";
items[i].publish();
}
See also
,
fl.getProject()
project.canPublishProject()
projectItem.canPublish()
364
Objects
will fail. See
projectItem.publish()
,
projectItem.publish()
.
,
,
project.items
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers