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




Reply With Quote