beautypg.com

Library.selectnone(), Library.setitemproperty() – Adobe Extending Flash Professional CS5 User Manual

Page 358

background image

336

EXTENDING FLASH PROFESSIONAL

library object

Last updated 5/2/2011

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.

This manual is related to the following products: