Array Problem's

Good Afternoon all,

Just a quick question about 2D arrays, you see I have a 2D array of Text

var textBlocks:Array = new Array(
[“Hey there, Press X to continue”],
[“How is it going?”],
[“Well that’s about it…”]
);
and my program runs threw each item in the array until the last, but how do i figure out if i am on the last one or not…

when you press X it types out “How is it Going?” and when that’s finished and you press X again it types out “Well that’s about it” but in code, i can not figure out where i am in that array… any suggestion?