# UIFTETextField 'direction'

**URL:** <https://forum.kirupa.com/t/uiftetextfield-direction/321452>\
**Category:** flash\
**Created:** [April 20, 2011, 8:21am UTC](https://forum.kirupa.com/t/uiftetextfield-direction/321452 "2011-04-20T08:21:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kleelof](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@kleelof](https://forum.kirupa.com/u/kleelof)\
**Post date:** [April 20, 2011, 8:21am UTC](https://forum.kirupa.com/t/uiftetextfield-direction/321452/1 "2011-04-20T08:21:39Z")

</div>

Hello,

I am using the following code to create a UIFTETextField:

```auto

var text1_txt:UIFTETextField = new UIFTETextField();
addChild (text1_txt );

```

Results in the error:

Parameter direction must be one of the accepted values.

I am using Flex4.1 ACTIONSCRIPT, not MXML.

take care,  
lee
