GetText retrieves the raw text of a TextField. If the textField is displaying HTML, then the displayed text is returned. Only valid for object types, and useful for only TextField instances on stage. For non-TextField object types, this method is equivalent to GetMember("text"). The Value holding the text reference MUST be destroyed before the runtime dies since the Object’s memory will be invalid due to heap deallocation.
Parameters |
Description |
Value* pval |
The holder for the returned string. |
Returns true if text is obtained, otherwise false. A false value will also be returned if the TextField was unloaded from the stage.