# Is it possible to create UI elements purely in Actionscript 3?

**URL:** <https://forum.kirupa.com/t/is-it-possible-to-create-ui-elements-purely-in-actionscript-3/300712>\
**Category:** flash\
**Created:** [November 26, 2009, 12:02am UTC](https://forum.kirupa.com/t/is-it-possible-to-create-ui-elements-purely-in-actionscript-3/300712 "2009-11-26T00:02:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DBA](https://avatars.discourse-cdn.com/v4/letter/d/cdc98d/32.png) [@DBA](https://forum.kirupa.com/u/DBA)\
**Post date:** [November 26, 2009, 12:02am UTC](https://forum.kirupa.com/t/is-it-possible-to-create-ui-elements-purely-in-actionscript-3/300712/1 "2009-11-26T00:02:16Z")

</div>

I am familiar with the method of embedding a SWF file in Actionscript and then creating a variable and assigning a corresponding UI element from the SWF.

My question is this:  
Is it possible to create and place UI elements like TextFields and SimpleButtons purely with Actionscript without first creating them in a SWF and embedding it?

Thanks in advance.
