Revealing password field in flex 4

Hi,

Just in 5 seconds ago, i cant believed the code that i wrote in flex 4 and that able to display the value of password field in flex .

see the code .

mx:TextInput id="passWord" displayAsPassword="true" width="150"
enter="passWord_enterHandler(event)"
mouseOver="{passWord.displayAsPassword = false}"
mouseOut="{passWord.displayAsPassword = true}"

I do not know any another way in flex to implement password field ..

use this code and see magic work ...able in flex ..

How to solve this issue in flex ?

Always ..do not use any component directly in application, i means ..extend it and make own implementation and override only method/event that you really want ,others methods just failed it or throw exception..

Enjoy ...Composition ..

Javaamtho..

Comments

Popular posts from this blog

Simple way producer–consumer problem's implementation in NodeJs

Step by step guide on how to pay Income Tax that is due

Cassandra Materialized view vs Index