G-L > LoadVars.load

 

LoadVars.load

Availability

Flash Player 6.

Usage

myLoadVars.load(url)

Parameters

url The URL from which to download the variables.

Returns

A string.

Description

Method; downloads variables from the specified URL, parses the variable data, and places the resulting variables into loadVarsObject. Any properties in loadVarsObject with the same names as downloaded variables are overwritten. Any properties in loadVarsObject with different names than downloaded variables are not deleted. This is an asynchronous action.

The downloaded data must be in the MIME content type application/x-www-urlform-encoded. This is the same format used by loadVariables.

This method is similar to the XML.load method of the XML object.