Switch

function switchAlt(){
switch (switchNum) {
 case 1: 
  subtitles.text = xmlNode.childNodes[_root.butVT].childNodes[subNum-1].attributes.fre;
 case 2:
  subtitles.text = xmlNode.childNodes[_root.butVT].childNodes[subNum-1].attributes.ger;
  case 3:
  subtitles.text = xmlNode.childNodes[_root.butVT].childNodes[subNum-1].attributes.jap;
 default:
  subtitles.text = xmlNode.childNodes[_root.butVT].childNodes[subNum-1].attributes.eng;

I assume switch works ie if switchNum =1, it does case 1?

I seem to just get the last case in the list.

Help a noob :stare:

as always I some how missed break; at the end of each case :stuck_out_tongue: