@Carlos

I put my take at a MaskedTextInput in a Gist:
https://gist.github.com/RIAstar/7893328
I repeat: there's some rather dirty code in there, however there's also
some logic to handle multiple separators with a regex. Perhaps you can find
some inspiration there.
Apparently I also felt the need for a boolean property called 'isComplete',
which returns true (and fires a property change event) when all required
characters have been typed.

One question though: why did you need a new skin? Seems to me the default
TextInput skin should suffice, don't you think?
Max


On Tue, Dec 10, 2013 at 5:14 PM, Dany Dhondt <archeme...@mac.com> wrote:

> Great work Carlos! Nice component!
>
> Dany Dhondt
> archeme...@mac.com
>
>
>
> Op 9-dec.-2013, om 19:28 heeft Carlos Rovira <carlosrov...@apache.org>
> het volgende geschreven:
>
> > Hi,
> >
> > These days I worked a new spark MaskedTextInput component and I want to
> > share a demo of this component so you can play with it.
> > I think there's no such component already in the Flex SDK or out there,
> and
> > as I needed for a project I had to make one from scratch.
> > The component is an extension of spark TextInput.
> >
> > I plan to commit this component to Apache Flex SDK in the next days
> unless
> > someone let me know another alternative or some info
> > that make this component useless. In order to prepare the commit I want
> to
> > ask other committers and PMCs here where is the appropriate place
> > to hold this component and share what you consider to take into account
> in
> > order to make a right integration. If someone thinks it's not worth it to
> > make it part of the Flex SDK, let me know as well. I don't want to commit
> > code that could not be right for the SDK.
> >
> > Here's the link to the demo. I posted as well some doc comment text to
> > share the properties you can use:
> >
> > http://www.carlosrovira.com/blog/spark-maskedtextinput-demo/
> >
> > Hope you consider it interesting and if you know some other similar
> > component out there, please let me know! :)
> >
> > Best,
> >
> >
> > --
> > --
> > Carlos Rovira
>
>

Reply via email to