int swfSize = readU32(in);
SizeLimitingInputStream in2 = new SizeLimitingInputStream(in, swfSize);
Movie movie = new Movie();
MovieDecoder movieDecoder = new MovieDecoder(movie);
TagDecoder tagDecoder = new TagDecoder(in2);
tagDecoder.parse(movieDecoder);
// For some reason, sometimes the process of decoding the movie does not read
// all that bytes that had been written previously. So, skip to the end.
in2.skipToEnd();