Chapter 3: actionspanel object, Actionspanel.getclassforobject() – Adobe Extending Flash Professional CS4 User Manual
Page 47
25
Chapter 3: actionsPanel object
Availability
Flash CS3 Professional.
Description
The actionsPanel object, which represents the currently displayed Actions panel, is a property of the flash object (see
Method summary
The following methods can be used with the actionsPanel object:
actionsPanel.getClassForObject()
Availability
Flash CS3 Professional.
Usage
actionsPanel.getClassForObject(ASvariableName)
Parameters
ASvariableName
A string that represents the name of an ActionScript variable.
Returns
A string that represents the class of which ASvariableName is a member.
Description
Method; returns the class of the specified variable, which must be defined in the currently displayed Actions panel. In
addition, the cursor or selected text in the Actions panel must be positioned after the variable definition.
Method
Description
actionsPanel.getClassForObject()
Returns the class of a specified variable.
actionsPanel.getScriptAssistMode()
Specifies whether Script Assist mode is enabled.
actionsPanel.getSelectedText()
Returns the text that is currently selected in the Actions panel.
Returns the text in the Actions panel.
Specifies whether any text is currently selected in the Actions panel.
actionsPanel.replaceSelectedText()
Replaces the currently selected text with specified text.
actionsPanel.setScriptAssistMode()
Enables or disables Script Assist mode.
Selects a specified set of characters in the Actions panel.
Clears any text in the Actions panel and then adds specified text.