Page 1 of 1
Userlist event not working
Posted: 01 May 2008, 01:46
by warhell
Code: Select all
// grab the selected user
userList_mc.addEventListener(BitEvent.onUserChange, myListener)
function myListener(evt:BitEvent):Void
{
trace("wtf");
userSelected = evt.params.selectedUser;
}
This doesn't seem to get called when the user selects someone from the userlist, any ideas?
Posted: 05 May 2008, 08:20
by Bax
We checked your code within the "Lobby" example that comes with the SmartFoxBits package, and it works perfectly. Simply add it in the "Chat" labeled frame.