		err = CreateMovieFile(&mySpec,							/* FSSpec specifier */
							  kMyCreatorType,					/* file creator type */
							  smCurrentScript,					/* movie file creation flags */ 
							  createMovieFileDeleteCurFile |
							  createMovieFileDontCreateResFile |
							  newMovieActive,
							  &resRefNum, 						/* file ref num */
							  &theMovie );						/* field to recieve movie specification */