Flex Examples

Flex Examples: Adding invalidation to non-visual components

Problem: How do you implement invalidation in a non-visual class?

Solution: Use an instance of UIComponent to proxy the invalidation.

Flex Examples : Validating user input in a TextInput Component

Scenario: You need to validate user input in a TextInput component for legal values.

Solution : Use the 'textInput' event to intercept the characters a users types before they are committed and cancel the committing of the character if it is illegal.

Syndicate content