I am experiencing the very same issue, using a ScrollingList in AS3. Whatever the event I link to my event handler in UScript, the event index is ALWAYS 0, no matter what I do playing around with my list.
Code looks like this :
I should mention that MapListMC.GetFloat("selectedIndex") get the correct result, but with a one-event lag : it's updated with the previous event's data.
event bool WidgetInitialized (name WidgetName, name WidgetPath, GFxObject Widget)
MapListMC = GFxClikWidget(Widget);
MapListMC.AddEventListener('CLIK_itemRollOver', OnListItemClick); // rollover, click, press, whatever.
case ('ExitButton') :
ExitButtonMC = GFxClikWidget(Widget);
default: return Super.WidgetInitialized(Widgetname, WidgetPath, Widget);
function OnListItemClick(GFxClikWidget.EventData ev)
// ev.index is ALWAYS == 0
Please, what am I doing wrong ? Please don't tell me that this is broken... I see that we are not alone with this problem : http://forums.epicgames.com/threads/...S3-CLIK-Events