		err = AddMovieResource(theMovie,			/* movie specification */
							   resRefNum,			/* file ref num */
							   &resId,				/* movie resource id */
		 					   fileName);			/* name of the movie resource */