actionsPanel.getSelectedText()

Availability

Flash CS3 Professional.

Usage

actionsPanel.getSelectedText()

Parameters

None.

Returns

A string that contains the text that is currently selected in the Actions panel.

Description

Method; returns the text that is currently selected in the Actions panel.

Example

The following example displays the text that is currently selected in the Actions panel.

var apText = fl.actionsPanel.getSelectedText(); 
fl.trace(apText);

See also

actionsPanel.getText(), actionsPanel.hasSelection(), actionsPanel.replaceSelectedText(), actionsPanel.setSelection()