PDA

View Full Version : programmatically attach list



dubbeat
February 13th, 2008, 11:33 AM
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

FizixMan
February 13th, 2008, 01:19 PM
Probably need to use the addChild() method.

dubbeat
February 14th, 2008, 05:00 AM
Probably need to use the addChild() method.

Thankyou!