MCEnableEditing
TheMCEnableEditingfunction allows your application to enable and disable editing for a movie controller. Once editing is enabled for a controller, the user may edit the movie associated with the controller.
pascal ComponentResult MCEnableEditing (MovieController mc, Boolean enabled);
mc- Specifies the movie controller for the operation. You obtain this
identifier from the Component Manager'sOpenComponentorOpenDefaultComponentfunction, or from theNewMovieControllerfunction (described on page 2-28).enabled- Specifies whether to enable or disable editing for the controller. Set this parameter to
trueto enable editing; set theenabledparameter tofalseto disable editing.DESCRIPTION
By default, editing is turned off when you create a new movie controller. If you want to allow the user to edit, you must use theMCEnableEditingfunction to enable editing.SPECIAL CONSIDERATIONS
Note that a movie controller component may not support editing. Therefore, your application should check the component result from this function before continuing with other movie-editing operations.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help