Hi,
Wish to know in my 3 item list. how to make an item auto selected when the program loads? ie make a default setting for whats selected.
Also and more importantly how can I get the data from a component through the listener and put the data in a trace
var bordorList:List = new List();
bordorList.addItem( { label:"Closed" } );
bordorList.addItem( { label:"Open" } );
bordorList.addItem( { label:"Circular" } );
bordorList.setSize(70,50);
bordorList.move(602, 440);
stage1.addChild(bordorList);
bordorList.addEventListener(Event.CHANGE, b_CB1);
public function b_CB1(event:Event)
{
trace( event.target.selectedItem.data); // this sends back NULLS
}