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.
Usage
library.setItemProperty( property, value )
Parameters
A string that is the name of the property to set. For a list of properties, see the
property
Property summary for the Item object
objects are subclasses of the Item object, see
The value to assign to the specified property.
value
Returns
Nothing.
Description
Method; sets the property for all selected library items (ignoring folders).
Example
The following example assigns the value button to the
library item or items. In this case, the item must be a
property for SymbolItem objects.
fl.getDocumentDOM().library.setItemProperty("symbolType", "button");
library.updateItem()
Availability
Flash MX 2004.
Usage
library.updateItem( [ namePath ] )
Parameters
A string that specifies the name of the item. If the item is in a folder, specify its name
namePath
and path using slash notation. This is the same as right-clicking on an item and selecting Update
from the menu in the UI. If no name is provided, the current selection is updated. This parameter
is optional.
and property summaries for its subclasses. To see which
Summary of the DOM
symbolType
SymbolItem
structure.
property for the selected
object;
is a valid
symbolType
library object
225
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?