Combine indexes

Hi,

In the following, when the create_btn is released, I need to combine the storyLine indexes with the textField input. I have the storyLines populating the textbox, but the inputText field attempts simply retuns the name of the field and it’s depth.

Also how can I change an array keys to start at a 1 count not 0?


//Yes we do, start the parsing process
	storyLinesNodeXML = this.firstChild.childNodes;
	//Loop through each of the <storyLine>nodes.
	for (var i = 0; i<storyLinesNodeXML.length; i++) {
		//make sure your working with <storyLine>nodes.
		if (storyLinesNodeXML*.nodeName == "storyLine") {
			//define variables 
			line1;
			line2;
			line3;
			line4;
			line5;
			line6;
			line7;
			//end variables.
			/*trace(storyLinesNodeXML*);*/
			/*trace(storyLinesNodeXML*.attributes.title);*/
			//initialize a 'shortcut' Array
			lines = new Array();
			// populate it
			for (var i = 0, len = storyLinesNodeXML.length; i<len; i++) {
				lines* = storyLinesNodeXML*.firstChild.nodeValue;
			}
			// access/trace it
			for (i=0, len=lines.length; i<len; i++) {
				trace('lines '+i+' : '+lines*);
			}
		}
	}
}
//Button for creating the story;
create_btn.onRelease = function() {
	var field_arr = new Array(noun_txt, bodyPart_txt, verb_txt, name_txt, politician_txt, adjective_txt);
	for (i=0; i<field_arr.length; i++) {
		//access/trace
		story_txt.text += lines*+field_arr*;
	}
};