Actionspanel.gettext() – Adobe Extending Flash Professional CS4 User Manual
Page 49
27
EXTENDING FLASH CS4 PROFESSIONAL
actionsPanel object
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.replaceSelectedText()
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