Dumb question ahaid :elderly:
(i searched the forum first)…
objFotos = new LoadVars();
objFotos.load(“data.txt”);
objFotos.onLoad = function() {
trace(this.foto1); --> returns a path
trace(this.howmany); --> returns “6”
t=8;
if(t<this.howmany){
trace(“smaller value !”);
}
};
I don’t know why, but when I run this, I get “smaller value !” in the output window. While howmany=6 and t=8; It’s like flash doesn’t read howmany als a value but more as if “6” was a string.
hmm…help
Stanley