Library.selectnone(), Library.setitemproperty() – Adobe Extending Flash Professional CS4 User Manual
Page 345
323
EXTENDING FLASH CS4 PROFESSIONAL
library object
Returns
A Boolean value:
true
if the specified item exists;
false
otherwise.
Description
Method; selects a specified library item.
Example
The following example changes the current selection in the library to
Symbol_1
inside
untitled Folder_1
:
fl.getDocumentDOM().library.selectItem("untitled Folder_1/Symbol_1");
The following example extends what is currently selected in the library to include
Symbol_1
inside
untitled
Folder_1
:
fl.getDocumentDOM().library.selectItem("untitled Folder_1/Symbol_1", false);
The following example deselects
Symbol_1
inside
untitled Folder_1
and does not change other selected items:
fl.getDocumentDOM().library.selectItem("untitled Folder_1/Symbol_1", true, false);
library.selectNone()
Availability
Flash MX 2004.
Usage
library.selectNone()
Parameters
None.
Returns
Nothing.
Description
Method; deselects all the library items.
Example
The following examples deselect all the items in the library:
fl.getDocumentDOM().library.selectNone();
fl.getDocumentDOM().library.selectAll(false);
library.setItemProperty()
Availability
Flash MX 2004.