onClipEvent(enterFrame){
loadVariables("variables.txt", this);
}
The file name must be enclosed in quotes; if the file containing your variables is in the same folder as your SWF file on your local drive or web server, then you can just put the name and extension. If not, you need to include the absolute or relative path to the location of the variables file.
The target can either be numeric to load the variables into a specific level on the stage, or can be the name/path of the target movie clip (I just use "this" to load it into the current clip).


