970971972973974975976977978979980
switch (type) { case MovieShape.MOVIE_MPEG: mci = new ExMCIMovie(); break; case MovieShape.MOVIE_AVI: mci = new ExAviMovie(); break; default: throw new IllegalArgumentException("Unsupported Movie: " + type); }