# Extending a textfield

**URL:** https://forum.kirupa.com/t/extending-a-textfield/284446
**Category:** Uncategorized
**Created:** [March 19, 2009, 10:41am UTC](https://forum.kirupa.com/t/extending-a-textfield/284446 "2009-03-19T10:41:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Alber\_Kidd](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)
#### Post date: [March 19, 2009, 10:41am UTC](https://forum.kirupa.com/t/extending-a-textfield/284446/1 "2009-03-19T10:41:35Z")

</div>

Hi,

I would like to extend a textfield so it can take a couple of custion parameters.

I tried this.

var clientText:TextField = new TextField();  
clientText.finalPos = 75;

clientText.x = clientText.finalPos;

Any idea how I can achieve this.

Thanks,
