beautypg.com

Actionspanel.gettext() – Adobe Extending Flash Professional CS5 User Manual

Page 48

background image

26

EXTENDING FLASH PROFESSIONAL

actionsPanel object

Last updated 5/2/2011

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()

actionsPanel.getText()

Availability
Flash CS3 Professional.

Usage

actionsPanel.getText()

Parameters
None.

Returns
A string that contains all the text in the Actions panel.

Description
Method; returns the text in the Actions panel.

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

var apText = fl.actionsPanel.getText();

fl.trace(apText);

See also

actionsPanel.getSelectedText()

,

actionsPanel.setText()

This manual is related to the following products: