Dynamically assigned functions trace the same information

I’m creating a menu by dynamically placing movie clips on the stage that are dependent upon the content in an XML file. I have an .as file linked to the movie clip I need the information loaded into. Functions are dynamically assigned correctly to each MC, but I need the function to pass another dynamically assigned variable so that it knows what information to load once pressed. I have each MC tracing the number at which it was assigned during the for loop (the point at which it was created). However, the function assigned to each MC is tracing the same number – the last iteration in the for loop. This number is remaining static for each dynamically assigned function. Why? My class file is attached. Any feedback or help would be greatly appreciated!