On Friday, June 21, 2013 1:09:37 PM UTC+5:30, Malek S wrote:
>
> Hi,
>
> I want to listen for keyBoardEvents for spark textinput.
>
> something like this
>
> *
>
> protected
> *
>
> *function* keyDownEvent( event:KeyboardEvent ):*void*
> * *
>
> {
>
> promptDisplay.visible=
>
> *false*;
>
> *var* _txtEmty:Boolean = *super*.textField.text.length == 0;
>
> *if*(_txtEmty && event.keyCode != 229)
>
> promptDisplay.visible=
>
> *true*;
>
> }
>
>
>
> But i am getting compiler error on promptDisplay.Visible
>
>
>
> basically promptDisplay does not support this property. anyother
> suggestions are welcome
>
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/flex_india.
For more options, visit https://groups.google.com/groups/opt_out.