Problem with defining MC names

Here is my problem:



[FONT=Courier New][LEFT][FONT=Verdana]/* Just a part of code for duplicate bttn MC*/ 
total = 3;
for (var i = 0; i<total; i++) {
 container.bttn.duplicateMovieClip("bttn"+i, i);
}
// now I have: bttn0, bttn1, bttn2 in container MC[/FONT]
[FONT=Verdana]
/* Now I define myClips for use in MyFunction*/
myClips = [
 container.bttn0,
 container.btn1,
 container.btn2
];
function MyFunction(parameter) {
 for (var i = 0; i<myClips.length; i++) {
  trace("some actions with myClips");
 }
}[/FONT]
[/LEFT]

[/FONT]

My question is: How to define myClips without writting each one, something like: container[“bttn”+i] ? When I write this it doesn’t work!