Using Communication Components > FCConnectionLight object > FCConnectionLight.latencyThreshold

 

FCConnectionLight.latencyThreshold

Availability

Flash Player 6.

Flash Communication Server MX.

Usage

connectLight_mc.latencyThreshold = maxLatency

Description

Property; determines the latency beyond which the light turns yellow. This is a read/write property. The value maxLatency determines the length of time it takes for the light to turn yellow after the latency becomes too high. The default is 0.1 seconds; therefore, whenever the connection latency becomes greater than 100 milliseconds, the light turns yellow and stays that way until the latency falls below the threshold.