The confused variable

Hey all,
I don’t have the time to think this through today. I am looking through the contents of a XML file. I am creating a variable and then assigning an onpress function using that variable. The problem is that when I actually click the button, it always uses the last assigned value of that variable.

something like this:
var marc:Array = new Array (“one”, “two”, “three”);

for (var i = 0; i < marc.length(); i++) {
var current:String = new String(marc*);
item = cp_characters.content.attachMovie(“m_item”, “m_” + i, i);

item.m_image.onPress = function() {
getURL (current+".htm", “_blank”);
}

}

here the issue would be with current . it always ends up reading as “three” when i click the button