Getting variables out of a loadvars()


Using a modified version of:

loadText = new loadVars();
//creating the loadVarsText function
loadText.onLoad = function() {
  scroller.text = this.kirupatext;

I can get text from a php page into a text box.

However I’m passing a querystring in and while I can send them anywhere to a text box using _root.textbox1.text = this.var1 etc what I really want to do is make that variable available to the rest of the script, but it just won’t do it, say if I put _root.var1 = this.var1 or _global.var1 = this.var1 they remain blank?