Tag Archive for 'textevent'

17
Apr

Adding links to a Panel container’s status text in Flex

The following example shows how you can assign an HTML formatted string to a Panel container’s status text field using the getStatusTextField() method in the mx_internal namespace.

Full code after the jump.

Continue reading ‘Adding links to a Panel container’s status text in Flex’

07
Mar

Preventing line feeds in a TextArea control in Flex

The following example shows how you can prevent a user from pressing Enter in a Flex TextArea control by listening for the textInput event and checking the TextEvent object’s text property for a newline character (”\n”).

Full code after the jump.

Continue reading ‘Preventing line feeds in a TextArea control in Flex’