/ Published in: ActionScript 3
If you ever wanted to add padding to a Text Input instance, use the \"textPadding\" Style under the Text Input Class like so.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var padFormat:Number = new Number(); padFormat = 10; your_txt.setStyle("textPadding",padFormat);