views:

29

answers:

2

I want to add simple list/combo box with action script 3 . but i have not found anything in internet.

Can anyone give me sough rough idea with some dummy values

thanks

A: 

if you are using flash then use the components "combobox" for the simplest dropdown/checkbox. see here for basic skinning etc: skinning-the-combobox-flash-component.

if not then there are plenty of things out there on google that will fit your need, eg: opensource dropdown

shortstick
i am using flex
Mirage
A: 

Hi... first add combobox from Window-combobox delete from stage then add the following code

import fl.controls.ComboBox;

var combo:ComboBox = new ComboBox();

addChild(combo);


combo.move(50,50);

combo.addItem( { label: "Item 1"  } );

combo.addItem( { label: "Item 2"  } );
Rajesh
please format your code
phwd