Posts tagged as:

setSelection()

The following example shows how you can use ActionScript to select text in a Flex Gumbo FxTextArea control by calling the setSelection() method. This example also shows how you can determine the current text selection’s anchor position and active position by using the selectionAnchorPosition and selectionActivePosition properties.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the selected text in a Flex TextArea control by using the setSelection() method.

Full code after the jump.

[click to continue…]

{ 5 comments }

The following example shows how you can convert an ImageSnapshot object into a Base-64 encoded string using Flex 3’s cleverly named encodeImageAsBase64() method.

Full code after the jump.

[click to continue…]

{ 0 comments }