![MACROMEDIA FLASH 8-EXTENDING FLASH Manual Download Page 359](http://html1.mh-extra.com/html/macromedia/flash-8-extending-flash/flash-8-extending-flash_manual_3348049359.webp)
ProjectItem object
359
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.
■
To add a new file to a project, use
project.addFile()
.
■
To locate an item that has already been added to a project, use
project.findProjectItem()
.
Method summary for the ProjectItem object
The following methods can be used with the ProjectItem object.
Property summary for the ProjectItem object
The following properties 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
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).
CHAPTER 32
Objects
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...