# Programmatically attach list

**URL:** <https://forum.kirupa.com/t/programmatically-attach-list/251882>\
**Category:** Uncategorized\
**Created:** [February 13, 2008, 3:33pm UTC](https://forum.kirupa.com/t/programmatically-attach-list/251882 "2008-02-13T15:33:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubbeat](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@dubbeat](https://forum.kirupa.com/u/dubbeat)\
**Post date:** [February 13, 2008, 3:33pm UTC](https://forum.kirupa.com/t/programmatically-attach-list/251882/1 "2008-02-13T15:33:44Z")

</div>

Hi,

I was wondering if there is a way to programmatically attach a listbox to the stage using actionscript 3?

I just have something like

var myList:List=new List()

Do I need to say “attach to the stage” in some way?

Thanks,  
dub
