Parameter object

Availability

Flash MX 2004.

Description

The Parameter object type is accessed from the screen.parameters array (which corresponds to the screen Property inspector in the Flash authoring tool) or by the componentInstance.parameters array (which corresponds to the component Property inspector in the authoring tool). See screen.parameters and componentInstance.parameters.

Method summary for the Parameter object

The following methods are available for the Parameter object:

Method

Description

parameter.insertItem()

Inserts an item into a list, object, or array.

parameter.removeItem()

Removes an element of the list, object, or array type of a screen or component parameter.

Property summary for the Parameter object

The following properties are available for the Parameter object:

Property

Description

parameter.category

A string that specifies the category property for the screen parameter or componentInstance parameter.

parameter.listIndex

An integer that specifies the value of the selected list item.

parameter.name

Read-only; a string that specifies the name of the parameter.

parameter.value

Corresponds to the Value field in the Parameters tab of the Component inspector, the Parameters tab of the Property inspector, or the screen Property inspector.

parameter.valueType

Read-only; a string that indicates the type of the screen or component parameter.

parameter.verbose

Specifies where the parameter is displayed.


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00004310.html