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
commands to return a ProjectItem object.
To add a new file to a project, use
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.
Method
projectItem.canPublish()
projectItem.canTest()
projectItem.publish()
projectItem.test()
Property summary for the ProjectItem object
The following properties can be used with the ProjectItem object.
Property
projectItem.displayName
projectItem.isMissing
projectItem.itemURI
projectItem.publishProfile
CHAPTER 32
project.items
project.addFile()
.
Description
Determines whether a project item can be published.
Determines whether a project item can be tested.
Publishes a project item.
Tests a project item.
Description
Read-only; a string that specifies the name of a project
item.
Read-only; a Boolean value that specifies whether a file
is missing from the disk.
Read-only; a string that specifies the path and name of
the project item.
A string that specifies the publish profile to use when
publishing a project item (FLA file).
). You can use the following
.
ProjectItem object
Objects
359
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?