Places an HTML anchor with a NAME attribute around specified text in the object.
Syntax
Parameters
Returns
It creates a named anchor out of a String object.
Example
s = "SWFKit FFish Script Demo";
r = s.anchor("anchor1");
trace(r);
//output:
//<A NAME="anchor1">SWFKit FFish Script Demo</A>