# Underline position and thickness

**URL:** <https://forum.kirupa.com/t/underline-position-and-thickness/332277>\
**Category:** flash\
**Created:** [April 1, 2014, 4:36pm UTC](https://forum.kirupa.com/t/underline-position-and-thickness/332277 "2014-04-01T16:36:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raghu\_thejus](https://avatars.discourse-cdn.com/v4/letter/r/bc79bd/32.png) [@raghu\_thejus](https://forum.kirupa.com/u/raghu_thejus)\
**Post date:** [April 1, 2014, 4:36pm UTC](https://forum.kirupa.com/t/underline-position-and-thickness/332277/1 "2014-04-01T16:36:42Z")

</div>

I have a input box where can apply underline for the selected text.When underline is applied using textformat the line is coming just near to text.If any descendent letters like ‘g’,‘q’,‘p’,‘j’ or ‘y’ is present in text box then the underline is cutting off. So I want to know is there any method available in AS2.0 to control the underline x and y position and also to set the thickness of the line.
