Using Communication Components > FCChat object > FCChat.setUsername

 

FCChat.setUsername

Availability

Flash Player 6.

Flash Communication Server MX.

Usage

chat_mc.setUsername(newName)

Parameters

newName A string.

If the newName parameter is not null or undefined, it shows the input text box and Send button.

If the newName parameter is null, it does nothing (lurker mode).

Returns

Nothing.

Description

Method; gets the user name to display in the list of active users.