FlashTextEditor.getLinks

Availability

Flash Player 8
Flash Player 9(AS3 version)

Usage

myTextEditor.getLinks()

Parameters

None

Returns

Array of objects with link properties .

Description

Method; Returns properties of the links used in currently edited text field.

Example

The following code displays link properties in the output window:

var urlProps:Array = myTextEditor.getLinks();
for (var i in urlProps) {
	for (var j in urlProps[i]){
		trace(j + ": " + urlProps[i][j]);
	}
	trace("###########################");
}