	// open the movie
	err = OpenMovieFile( &theFSSpec, &refNum, fsRdWrPerm );
	resID = movieInDataForkResID;
	
	// add the movie resource to the file
	err = AddMovieResource( movie, refNum, &resID, NULL );
	err = CloseMovieFile( refNum );