Passing Array value in EventListener
Hi All, been at this for a while now and can't see the wood for the trees. Is there a way to pass a value through an EventListener so that the array referenced within the function changes value?
var i=int;
btn_US.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler,i=3);
function mouseOverHandler(e:MouseEvent, i):void {
txt_CountryName.text = country;
txt_GoverningBody.text = governingbody;
}
I simply can't see to pass the i value...
Any help would be greatly appreciated.
Mike
