Using Communication Components > FCCursor object > FCCursor.setColor

 

FCCursor.setColor

Availability

Flash Player 6.

Flash Communication Server MX.

Usage

cursor_mc.setColor(newColor)

Parameters

newColor A string that indicates a hexadecimal color (such as 0xFC00F3).

Returns

Nothing.

Description

Method; changes the color of the user's pointer to the specified color. The Cursor component, which can be used with the UserColor component, is designed to monitor changes to the value gFlashCom.usercolor. A change to this value causes setColor to be called, and updates the colors for all clients.