Max-Mov > MovieClip.loadVariables
MovieClip.loadVariablesSyntax
anyMovieClip
.loadVariables(url, variables
);
Arguments
url
The absolute or relative URL for the external file. The host for the URL must be in the same subdomain as the movie clip.
variables
The method for retrieving the variables. GET
appends the variables to the end of the URL, and is used for small numbers of variables. POST
sends the variables in a separate HTTP header and is used for long strings of variables.
Description
Method; reads data from an external file and sets the values for variables in a movie or movie clip. The external file can be a text file generated by a CGI script, Active Server Pages (ASP), or PHP, and can contain any number of variables.
This method can also be used to update variables in the active movie with new values.
This method requires that the text at the URL be in the standard MIME format: application/x-www-urlformencoded
(CGI script format).
Player
Flash 5 or later.
See also
MovieClip.loadMovie