Skip to content

Latest commit

 

History

History
57 lines (33 loc) · 1.15 KB

File metadata and controls

57 lines (33 loc) · 1.15 KB

Library.setItemProperty()

Availability

Flash MX 2004.

Usage

Library.setItemProperty(property, value)

Parameters

property

Type

string

Description

The name of the property to set. For a list of properties, see the Property summary table for the Item object and property summaries for its subclasses. To see which objects are subclasses of the Item object, see "Summary of the DOM structure" on Given Page.

value

Type

any

Description

The value to assign to the specified property.

Returns

Nothing.

Type

void

Description

Method; Sets the property for all selected library items (ignoring folders).

Example

The following example assigns the value button to the symbolType property for the selected library item or items. In this case, the item must be a SymbolItem object; symbolType is a valid property for SymbolItem objects.

fl.getDocumentDOM().library.setItemProperty("symbolType", "button");