Tag Archive for 'setselection()'

25
Apr

Setting text selection on a TextArea control in Flex

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.

Continue reading ‘Setting text selection on a TextArea control in Flex’

07
Dec

Converting an ImageSnapshot object into a Base-64 encoded string in Flex 3

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.

Continue reading ‘Converting an ImageSnapshot object into a Base-64 encoded string in Flex 3′