Library.selectall(), Library.selectitem() – Adobe Extending Flash Professional CS5 User Manual
Page 357
335
EXTENDING FLASH PROFESSIONAL
library object
Last updated 5/2/2011
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]])
Parameters
namePath
A string that specifies the name of the item. If the item is in a folder, you can specify its name and path using
slash notation.
bReplaceCurrentSelection
A Boolean value that specifies whether to replace the current selection or add the item
to the current selection. The default value is
true
(replace current selection). This parameter is optional.
bSelect
A Boolean value that specifies whether to select or deselect an item. The default value is
true
(select). This
parameter is optional.