# Input text bug?

**URL:** <https://forum.kirupa.com/t/input-text-bug/192767>\
**Category:** flash\
**Created:** [June 30, 2006, 8:44pm UTC](https://forum.kirupa.com/t/input-text-bug/192767 "2006-06-30T20:44:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Post date:** [June 30, 2006, 8:44pm UTC](https://forum.kirupa.com/t/input-text-bug/192767/1 "2006-06-30T20:44:36Z")

</div>

I am make an input textfield via actionscript and then applying a textformat, cannot type in it.

```auto
var format = new TextFormat();
with (format) {
   font = "Tahoma";
   size = 8;
   bold = true;
}
createTextField("input",1,0,0,50,14);
input.type = "input";
input.background = true;
input.embedFonts = true;
input.setTextFormat(format);

```

If i now try to type in this box, nothing happens. However, If i do this:

```auto
var format = new TextFormat();
with (format) {
   font = "Tahoma";
   size = 8;
   bold = true;
}
createTextField("input",1,0,0,50,14);
input.type = "input";
input.background = true;
input.embedFonts = true;
input.setTextFormat(format);

input.text = "test"

```

It not only puts it in the box(neatly formatted the way i like), I can also erase it and type what i want in the box. I’ve been toying with it for a while and can’t figure it out. Also if i comment out the embedFonts line, it works too(obviously without formatting).

Any Ideas?:h:
