me podrian decir que diferencia hay entre este codigo
Obj = new LoadVars();
Obj.load("../titulo.txt");
myTexto2.htmlText = "Cargando...";
Obj.onLoad = function() {
titulo = this.titulo;
miTexto2.htmlText = this.titulo;
}; y este otro
var Obj:LoadVars = new LoadVars();
Obj.load("../titulo.txt");
myTexto2.htmlText = "Cargando...";
Obj.onLoad = function() {
titulo = this.titulo;
miTexto2.htmlText = this.titulo;
};
El primero me carga un texto, y el segundo se queda en el Cargando...
Gracias y un saludo.
