Q I use SetMovieDisplayClipRgn to set my movie clip, but the movie
doesn't obey my clipping. Does the movie controller component ignore this clipping?
A The controller uses the display clip for its own purposes, such as
for badges. If you want to do clipping with the movie controller you must use MCSetClip.
MCSetClip takes two regions. The first clips both the movie and the controller. The second
clips just the movie, and is equivalent to the movie display clip. If both clips are set,
the controller does the right thing and merges them as appropriate. If you don't want one or
the other of the clips, set them to zero.
In general, if you are going to do something to a movie that is attached to a
controller you must either do it through the controller, using the action
calls, or you must call MCMovieChanged. Otherwise, the controller would need to
constantly poll the movie to see if its state changed. Clearly this would be
slow.
[May 01 1995]
|