[MX] listBox component

Hello,

I’m using this code to put an array into a listbox component in Flash MX

:battery:


stop;

campbellAry = new Array("charlie","chris","kate","kara","jack","kathy","kim","fiona","liam",
					   "cesar","kaylee","john","ken","sarah","reykah");

campbellAry.sort();

for (i=0; i<campbellAry.length; i++) {
	testListBox.addItem(campbellAry* /* + " campbell" */ );
}

I’m wondering how to give each item in the list a function? For example I’d like charlie to do something associated with the name of that item (ie loadMovie charlie.swf). How do I dynamically control each item’s onRelease method’s ?

Also, can I give the text a different look in the listBox somehow?

Thanks

:disco: