Loadvars variable expiration problem

hello folks!

i’m in a movieclip… on first frame i did following:


  var rvar;
  
  rPic = new LoadVars();
  rPic.onLoad = function(success) {
  	if (success) {
  		trace(this.rvar);
  		rvar = this.rvar;
  	}
  }
  rPic.load("http://localhost/~ok/ludschi/lib.php?function=randomfile");
  

on second frame i did that:


  trace(rvar);
  loadMovie(this.rvar,_this());
  stop();
  

the var rvar is empty but on first frame i set it - right?

what am i donin wrong?

thanks in advance!
oliver