_capLoadData

Availability

Flash Lite 1.1.

Usage

_capLoadData

Description

Numeric variable; indicates whether the host application can dynamically load additional data through calls to the loadMovie(), loadMovieNum(), loadVariables(), and loadVariablesNum() functions. If so, this variable is defined and has a value of 1; if not, this variable is undefined.

Example

If the host application can perform dynamic loading of movies and variables, the following example sets iCanLoad to 1:

canLoad = _capLoadData;

if (canLoad == 1) {
    loadVariables("http://www.somewhere.com/myVars.php", GET);
} else {
    trace ("client does not support loading dynamic data");
}