Using Communication Components > FCCursor object > FCCursor.setUsername |
FCCursor.setUsername
Availability
Flash Player 6. |
|
Flash Communication Server MX. |
Usage
cursor_mc.setUsername(newName)
Parameters
newName An optional string that specifies the new user name. If the newName parameter is not null or undefined, the method creates a new reference for the user, sets the name of the reference to newName, and hides the normal mouse pointer by calling the Mouse.hide method. 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.