why there is no documentation regarding properties and constant like INPUT_BUTTONMODE_ONFOCUS and verticalAlign of TextField?
I want to centrally aligned text and while setting it value to 1 it gives exception
I'm pretty sure I see those constants listed in the Docs, check here for most UI related constants for example. Or did I misunderstand your question?
For vertically aligning text in TextField, use this:
textField.verticalAlign = 'top'; textField.verticalAlign = 'middle'; textField.verticalAlign = 'bottom';