Lingo Dictionary > T-Z > tellStreamStatus() |  |

tellStreamStatus()

Syntax

    tellStreamStatus(onOrOffBoolean)

Description

Function; turns the stream status handler on (`TRUE`) or off (`FALSE`).

The form`tellStreamStatus()` determines the status of the handler.

When the `streamStatusHandler` is `TRUE`, Internet streaming activity causes periodic calls to the movie script, triggering streamStatusHandler. The handler is executed, with Director automatically filling in the parameters with information regarding the progress of the downloads.

Example

This `on prepareMovie` handler turns the `on streamStatus` handler on when the movie starts:

    on prepareMovie
    	tellStreamStatus(TRUE)
    end

Example

This statement determines the status of the stream status handler:

    on mouseDown
    	put tellStreamStatus()
    end

See also

`on streamStatus`