switch is just a shorter version of if..elseif statements. for example:
Code:
switch(_root.goTo){
     case 'news':
          _root.newsfloat.play();
     break;
     case 'page2':
          _root.page2float.play();
     break;
}
that is the same as doing:
Code:
if(_root.goTo == 'news'){
     _root.newsfloat.play();
}else if (_root.goTo == 'page2'){
     _root.page2float.play();
}