Expand my Community achievements bar.

usericonURL issue?

Avatar

Level 3

I am setting the value of a lobby users (OWNER at the moment - 100)  icon to be equal to a url passed into the application:

s_website = "http://" + URLUtil.getServerName(Application.application.loaderInfo.url);

s_user_icon    = s_website + "/img/users/t_" + Application.application.parameters.s_us_image;

var playerDescriptor:UserDescriptor = _userManagerLobby.getUserDescriptor(_userManagerLobby.myUserID);   
playerDescriptor.usericonURL = s_user_icon;  

This works for the local user, however a second person who logs in to the lobby can't seem to see the other players usericonURL.

Is this because usericonURL is only local. It just seems strange to have it if it is not shared.

Should I rather be using a custom field to store the user icon?

1 Reply

Avatar

Level 3

ok - I fixed this by simply using the method setUserUsericonURL()