projectItem.itemURI

Availability

Flash 8.

Usage

projectItem.itemURI

Description

Read-only property; a string, specified as a file:/// URI, that specifies the path and name of the project item. Folder items contain an empty string ("").

Example

The following example displays the path and name of each item in the project in the Output panel:

files = fl.getProject().items; 
for (i = 0; i < files.length; i++) { 
    fl.trace(files[i].itemURI);
}

See also

fl.getProject(), projectItem.displayName, project.items