Does anyone know, why-o-why, the following function call won’t work?
I have an object, dRoot, that contains a LoadVars() object, dat. This LoadVars object has an onLoad handler which *should *call a function, init(), in dRoot. Unfortunately, it isn’t. Am I referencing it wrong? Please take a look…
dat.parent = dRoot;
dat.onLoad = function() {
this.parent.otherVar = this.var.toString();
this.parent.init();
}
Cheers,
Mike