MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 324

Extending flash
Table of Contents

Advertisement

Parameters
A string that specifies the name of the item. If the item is in a folder, you can
namePath
specify its name and path using slash notation.
bReplaceCurrentSelection
selection or add the item to the current selection. The default value is
selection). This parameter is optional.
A Boolean value that specifies whether to select or deselect an item. The default
bSelect
value is
(select). This parameter is optional.
true
Returns
A Boolean value:
true
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.
Parameters
None.
Returns
Nothing.
324
Objects
A Boolean value that specifies whether to replace the current
if the specified item exists;
true
otherwise.
false
(replace current

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents