project.findProjectItem()
Availability
Flash 8.
Usage
project.findProjectItem( fileURI )
Parameters
A string specifying the file to search for in the project, expressed as a file:/// URI.
fileURI
Returns
A ProjectItem object for the item if successful; otherwise, returns
object.
Description
Method; searches for a specified file in the project.
Example
The following example displays an error message in the Output panel if a specified file is not
found in the project:
var myProject = fl.getProject();
var item = myProject.findProjectItem("file:///C|Projects/files/
Integra.fla");
if (item == undefined) {
fl.trace("Integra.fla is missing!");
}
See also
,
ProjectItem
fl.getProject()
project.items
Availability
Flash 8.
Usage
project.items
Description
Read-only property; an array of ProjectItem objects (see
the project.
object,
projectItem.isMissing
. See
false
ProjectItem
object) contained in
Project object
ProjectItem
355
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?