# Creating textfields and movieclips in as

**URL:** <https://forum.kirupa.com/t/creating-textfields-and-movieclips-in-as/267594>\
**Category:** Uncategorized\
**Created:** [August 3, 2008, 4:40pm UTC](https://forum.kirupa.com/t/creating-textfields-and-movieclips-in-as/267594 "2008-08-03T16:40:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![geestring](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@geestring](https://forum.kirupa.com/u/geestring)\
**Post date:** [August 3, 2008, 4:40pm UTC](https://forum.kirupa.com/t/creating-textfields-and-movieclips-in-as/267594/1 "2008-08-03T16:40:32Z")

</div>

I’m only familiar with the AS2 methods of createTextField and createEmptyMovieClip.

I’m searching the help files with no real explanation on how to do this in AS3.

For textfields i think you do  
var myText:textfield = new TextField();  
myText.text = “hey”;

this.addChild(myText);

but, how do you specify instance name and dimensions etc…

for mc’s I have no clue. Help me. Thank you
