onPress and while


loadText = new LoadVars();
loadText.load("data.php?"+random(999));

loadText.onLoad = function() {

i=0;
        while(i<30) {
                _root.movieclip["b"+i].onPress = function() {
                _parent.blacktext.text = loadText["datas"+i];
	   }
                i++;
        }

}

This code basically takes varaibales from php page that outputs this

 
&datas0=test&datas1=testtest 
  ........ all the way to  ..&datas29=testtesttest

anyways this doesnt work… doesnt anyone know why? when i click the button in flash i want the corresponding datas ( data ) to show up… in blacktext.text

please help…

i hope that makes sense