Places an HTMLtag with the COLOR attribute around the text in a String object.
Syntax
Parameters
Returns
It returns a string with HTMLtags around text in the stringObj.
Example
s = "SWFKit FFish Script Demo";
r = s.fontColor("RED");
trace(r);
//output:
//<FONT COLOR="RED">SWFKit FFish Script Demo</FONT>