# Placing dynamic createTextField horizontal?

**URL:** <https://forum.kirupa.com/t/placing-dynamic-createtextfield-horizontal/78156>\
**Category:** flash\
**Created:** [February 2, 2005, 3:54pm UTC](https://forum.kirupa.com/t/placing-dynamic-createtextfield-horizontal/78156 "2005-02-02T15:54:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![keitai](https://avatars.discourse-cdn.com/v4/letter/k/73ab20/32.png) [@keitai](https://forum.kirupa.com/u/keitai)\
**Post date:** [February 2, 2005, 3:54pm UTC](https://forum.kirupa.com/t/placing-dynamic-createtextfield-horizontal/78156/1 "2005-02-02T15:54:05Z")

</div>

Got a problem with placing my textfield horizontal.  
I need to get the width so I can get starting point Y.

This does’t work.

```auto

test = _root["navTxt"+counter].textWidth;				
trace ("width "+test);

```

also

```auto

test = _root["navTxt"+counter]._width;				
trace ("width "+test);

```

But when I try

```auto

test = _root["navTxt16"]._width;				
trace ("width "+test);

```

I can get the width
