Value::SetTextHTML

Value::SetTextHTML
SF_INLINE bool SetTextHTML(const char* phtml);
SF_INLINE bool SetTextHTML(const wchar_t* phtml);
Description

SetTextHTML sets HTML text (either plain or Unicode) on a TextField. The text is assumed to be HTML and will be processed for HTML codes. For valid HTML codes, refer to the Flash 8 HTML support documentation.

Parameters
Parameters 
Description 
const char* phtml 
The text containing HTML codes to be set on the TextField. Can be either plain or Unicode text. 
Return Value

Returns true if the HTML text was set, false if not. A false value will also be returned if the Value is a reference to a display object, and the display object was unloaded.