# Removing a created TextField

**URL:** https://forum.kirupa.com/t/removing-a-created-textfield/36826
**Category:** Uncategorized
**Created:** [December 2, 2003, 9:56am UTC](https://forum.kirupa.com/t/removing-a-created-textfield/36826 "2003-12-02T09:56:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jtax](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jtax](https://forum.kirupa.com/u/jtax)
#### Post date: [December 2, 2003, 9:56am UTC](https://forum.kirupa.com/t/removing-a-created-textfield/36826/1 "2003-12-02T09:56:13Z")

</div>

I used \_root.createTextField(“name”, …);  
At some point i want to remove it but even though the following code exists in the AS dictionary, it won’t work:

name.removeTextField();

The only thing i can do is change to name.text = “”; to make it disappear.

Does anyone know how to actually remove it?

Thanks,  
Jtax
