Library.selectall(); Library.selectitem() - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

Returns
A Boolean value:
no names are changed, and the return value is
Description
Method; renames the currently selected library item in the Library panel.
Example
The following example renames the currently selected library item to
fl.getDocumentDOM().library.renameItem("new name");

library.selectAll()

Availability
Flash MX 2004.
Usage
library.selectAll( [ bSelectAll ] )
Parameters
A Boolean value that specifies whether to select or deselect all items in the library.
bSelectAll
Omit this parameter or use the default value of
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 ] ] )
if the name of the item changes successfully. If multiple items are selected,
true
(to match UI behavior).
false
to select all the items in the library;
true
:
new name
false
library object
223

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents