ProjectItem object

Availability

Flash 8.

Description

The ProjectItem object represents an item (file on disk) that has been added to a project. This object is a property of the Project object (see project.items). You can use the following commands to return a ProjectItem object:

Method summary for the ProjectItem object

The following methods can be used with the ProjectItem object:

Method

Description

projectItem.canPublish()

Determines whether a project item can be published.

projectItem.canTest()

Determines whether a project item can be tested.

projectItem.publish()

Publishes a project item.

projectItem.test()

Tests a project item.

Property summary for the ProjectItem object

The following properties can be used with the ProjectItem object:

Property

Description

projectItem.displayName

Read-only; a string that specifies the name of a project item.

projectItem.isMissing

Read-only; a Boolean value that specifies whether a file is missing from the disk.

projectItem.itemURI

Read-only; a string that specifies the path and name of the project item.

projectItem.publishProfile

A string that specifies the publish profile to use when publishing a project item (FLA file).


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00004339.html