356
Objects
Example
The following example displays the names of all the items in the project in the Output panel:
for (i = 0; i < fl.getProject().items.length; i++) {
fl.trace(fl.getProject().items[i].displayName);
}
See also
fl.getProject()
,
ProjectItem object
project.name
Availability
Flash 8.
Usage
project.name
Description
Property; the name of the project that appears in the Project panel.
Example
The following example specifies a new name to be displayed in the Project panel:
fl.getProject().name = "New project name";
See also
fl.getProject()
,
project.projectURI
project.projectURI
Availability
Flash 8.
Usage
project.projectURI
Description
Read-only property; a string representing the path and name of the project file, expressed as a
file:/// URI.
Содержание FLASH 8-EXTENDING FLASH
Страница 1: ...Extending Flash...
Страница 38: ...38 Top Level Functions and Methods...
Страница 532: ...532 Objects...
Страница 554: ...554 C Level Extensibility...