Accessibility
Adobe
Sign in Privacy My Adobe

Flex Components

Adobe Exchange: The new way to discover and install plug-ins, extensions and content for the Creative Suite. Get it now

Adobe Masked TextInput

By FlexExchangeAdmin November 27, 2006
13,746 Downloads

Rating = 425 votes


The Masked Text Input component is a single-line, text input field. This component adds support for the validation of input against a specified mask expression on a character by character basis. Updated for Flex 2.0.1 with following changes text and fullText properties are now made Bindable

SUPPORT INFORMATION
Informally supported by Adobe engineering. See the Flex Team blog post: http://weblogs.macromedia.com/flexteam/archives/2006/11/component_maske.cfm

Download

License: Freeware
Language:
Cost: Free
Platform: Flash Player 9
File format: ZIP | 544.8 KB

Additional extension information

Author: FlexExchangeAdmin
Author website: http://weblogs.macromedia.com/flexteam
Date published: November 27, 2006
Approval: None
Compatible product(s): Flex 2.0.1

Reviews

1-5 of 12 reviews | Show all reviews


Alan1213 02-Jul-11 Rating = 4

I've got the same problem. Hundreds of our customer complain that all MaskedTextInput controls in the app appear with a very bad layout now. Flash Player 10.3.181.14 has a bug!

loriling01 26-May-11 Rating = 2

When i use the flash player 10.3.181.14 to run this component, it seemed a display bug on it. I debugged it and found that measureText("w").width returned a wrong value. Its very oddness. Any suggestion?

SSzretter 15-May-11 Rating = 4

Is this working properly in Flex 4?

Prathi_Kiran 22-Apr-10 Rating = 3

Setting the text alignment to right mesh up the control. This property should show no effect for the control.

<ns1:MaskedTextInput id="txtCost1" inputMask="#,###,###,###,###/.##" textAlign="right" >

And in the above control if I would like to enter only 1.0, it does not allow me to do so. Is this expected behavior.

Thanks for the great efforts.

Kevin__K 21-Oct-09 Rating = 3

Update - the below fixes setting the text property but causes the cursor to advance improperly when typing. Use this instead:

//if first character is not a viable input position...
if(!isMask(maskMap[0][0]) && !(event is TextEvent))
{
advancePosition(); //advance to the first viable input position
}

Add a review

(+) Please log in to submit a review