FlashTextEditor.removeLink

Availability

Flash Player 8
Flash Player 9(AS3 version)

Usage

myTextEditor.removeLink( index:Number )

Parameters

index - Number. Internal index of the link.

Returns

Nothing.

Description

Method; Removes link from the selected text in targeted text field. Index of the image can be retrieved either by using 'link' event or 'getLinks' method.

Example

The following code will remove link from the selected text in targeted text field:

myTextEditor.removeLink( 2 );