There's got to be a better way

Thinking about using a switch statement for 32 different buttons like this one:
function chooseStudent(e:MouseEvent):void {
switch (e.currentTarget.name) {
case “student1”:
currStudent = “./”+studentList[0]+"/"+studentList[0]+".swf" as String;
var myURL:URLRequest=new URLRequest(currStudent);
myProLoader.load(myURL);
addChild(myProLoader);
break;
}
}
student 1 through student 32 getting info from an array with their names and loading a SWF.

Am I just lazy, or is there a more efficient way to do this rather than create 32 case statements?

Thanks,
Dave…