Puting a loadVariable output into an array

i’m writing a flash script that loads a text file, cycles through all of the variables in it, and then outputs each variable into it’s own item in an array. but i can’t get it to work and i don’t understand what the problem is. this is the code i’ve got in frame one:

quotes = new LoadVars();
quotes.load("data.txt");
quotes.onLoad = function(success) {
	if (success) {
		j = 0;
		for (i in quotes) {
			quoteArray = new Array();
			quoteArray[j] = quotes*;
			j++;
		}
	}
	loadCaption();
};
function loadCaption() {
	for (k=0; k<quoteArray.length; k++) {
		trace(quoteArray[k]);
	}
}

and this is what i’ve got in the text file, “data.txt”:

quote1=1&quote2=2

i think the problem is with the line:
quoteArray[j] = quotes*;
but i don’t know what’s wrong with it.

anyone?