Lingo Dictionary > G-K > hyperlink

 

hyperlink

Syntax

chunkExpression.hyperlink

Description

Text cast member property; returns the hyperlink string for the specified chunk expression in the text cast member.

This property can be both tested and set.

When retrieving this property, the link containing the first character of chunkExpression is used.

Hyperlinks may not overlap. Setting a hyperlink over an existing link, even partially over it), replaces the initial link with the new one.

Setting a hyperlink to an empty string removes it.

Example

This handler creates a hyperlink in the first word of text cast member "MacroLink". The text is linked to Macromedia's web site.

on startMovie
	member("MacroLink").word[1].hyperlink = \
	"http://www.macromedia.com"
end

See also

hyperlinkRange, hyperlinkState