For loop problem

i have this code in a for loop:

trackList_mc[tempName].invisible_btn.onRelease = function() {
	_root.currentTrack = "track" + i;
	trace (_root.currentTrack);
};

Why do i get the same value back for every button i click?

Thanks,
Brendan Smith