Using Communication Components > FCRoomList object > FCRoomList.setUsername |
FCRoomList.setUsername
Availability
Flash Player 6. |
|
Flash Communication Server MX. |
Usage
roomList_mc.setUsername(newName)
Parameters
newName An optional string that specifies the new user name. If newName is not null or undefined, the user can see the list of rooms but cannot join, create, or delete a room. If newName is null, nothing changes and the user is in lurker mode.
Returns
Nothing.
Description
Method; sets the user name to display and pass to the server.