library object
223
Returns
A Boolean value:
true
if the name of the item changes successfully. If multiple items are selected,
no names are changed, and the return value is
false
(to match UI behavior).
Description
Method; renames the currently selected library item in the Library panel.
Example
The following example renames the currently selected library item to
new name
:
fl.getDocumentDOM().library.renameItem("new name");
library.selectAll()
Availability
Flash MX 2004.
Usage
library.selectAll( [
bSelectAll
] )
Parameters
bSelectAll
A Boolean value that specifies whether to select or deselect all items in the library.
Omit this parameter or use the default value of
true
to select all the items in the library;
false
deselects all library items. This parameter is optional.
Returns
Nothing.
Description
Method; selects or deselects all items in the library.
Example
The following examples select all the items in the library:
fl.getDocumentDOM().library.selectAll();
fl.getDocumentDOM().library.selectAll(true);
The following examples deselect all the items in the library:
fl.getDocumentDOM().library.selectAll(false);
fl.getDocumentDOM().library.selectNone();
library.selectItem()
Availability
Flash MX 2004.
Usage
library.selectItem(
namePath
[,
bReplaceCurrentSelection
[,
bSelect
] ] )
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...