next up previous contents
Next: small Up: Methods Previous: italics   Contents


link

Description
Places an HTML anchor with an HREF attribute around the text in a String object.


Syntax

  1. StringObj.link(link)
  2. "String Literal".link(link)


Parameters

link
It is the text that you want to place in the HREF attribute of the HTML anchor.


Returns

It returns a string with an HREF attribute around the text in the stringObj.


Example

s = "SWFKit FFish Script Demo";
r = s.link("www.swfkit.com");
trace(r);
//output:
//<A HREF="www.swfkit.com">SWFKit FFish Script Demo</A>




Copyright ©2000-2007 Shanghai TopCMM Software Technologies. All Rights Reserved.