Parameter.name; Parameter.removeitem() - 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

Description
Property; the value of the selected list item. This property is valid only if the
parameter is
"List"
Example
The following example sets the first parameter for a Slide, which is the
set the parameter to one of its acceptable values (
parameter.listIndex
).
inherit
var parms = fl.getDocumentDOM().screenOutline.screens[1].parameters;
parms[0].listIndex = 1;

parameter.name

Availability
Flash MX 2004.
Usage
parameter.name
Description
Read-only property; a string that specifies the name of the parameter.
Example
The following example shows the name of the fifth parameter for the selected component:
var parms = fl.getDocumentDOM().selection[0].parameters;
fl.trace("name: " + parms[4].name);
The following example shows the name of the fifth parameter for the specified screen:
var parms = fl.getDocumentDOM().screenOutline.screens[1].parameters;
fl.trace("name: " + parms[4].name);

parameter.removeItem()

Availability
Flash MX 2004.
Usage
parameter.removeItem(index)
Parameters
The zero-based integer index of the item to remove from the screen or component
index
property.
Returns
Nothing.
.
is set to the index of the item in the list (0 for
autoKeyNav
,
, or
true
false
inherit
true
valueType
parameter. To
)
, 1 for
, 2 for
false
Parameter object
239

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