flash external text file
flash external text file
Out of context: Reply #1
- Started
- Last post
- 8 Responses
- unfittoprint0
use the LoadVars object instead.
myVars = new LoadVars();
myVars.onLoad = function(sucess){
if(sucess){
textBox.text = this.var;
} else{
trace("ooops!");
};
}button.onPress = function(){
myvars.load("vars.txt");
}