Flash Lite 2.x and 3.0 ActionScript Language Reference

_capLoadData property

_capLoadData

Deprecated since Flash Lite Player 2.0. This action was deprecated in favor of the System.capabilities.hasDataLoading property.

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 CanLoad to 1:

canLoad = _capLoadData;

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

See also

capabilities (System.capabilities)