gridBox.addEventListener(ListEvent.ITEM_CLICK, ItemClicked); function ItemClicked(e:ListEvent){ //heres the bit you want var o:Object = e.item; trace(o.Name); trace(o.Age);
Tech Reference: AS3
Tramping, Tales, Training and Travails
gridBox.addEventListener(ListEvent.ITEM_CLICK, ItemClicked); function ItemClicked(e:ListEvent){ //heres the bit you want var o:Object = e.item; trace(o.Name); trace(o.Age);
Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.
Leave a Reply