According to the documentation for QTMovie, setting the playback rate
using the -setRate: is rather straightforward. As for getting the
button's state to align with playback, I would probably subclass the
button, overriding -mouseUp: and -mouseDown: as appropriate.
On Apr 21, 2009, at 11:0
Hi douglas,
thank you for your help.
Now I expect that the speed is fast when user press the button and the
speed
is normal when user unfasten the button. I am a fresh man,ha. I don't know how
to do this. Could you tell more detail?thank you!
2009-04-21,"douglas welton"
>To implement
To implement a fast (scan) forward or backward, simply set the movie's
playback rate to a value greater than 1.0 ( or -1.0 for going
backward). You'll want to experiment with want looks best for you,
but a typical value might be 2.0, 4.0, 8.0... you get the picture.
Depending on how you wa
Search the archives; this has come up quite a bit. -[QTMovie setRate:]
On 21 Apr 2009, at 15:39, Bright wrote:
Hi,
By using the "-stepForward:" and the "-stepBackward:" methods
of the QTMovie class, I realized the forward/backward a frame
when I click the corresponding buttons.
But my purpo
Hi,
By using the "-stepForward:" and the "-stepBackward:" methods
of the QTMovie class, I realized the forward/backward a frame
when I click the corresponding buttons.
But my purpose is to implement fast forward and fast backward
when I press the corresponding buttons for a while. The result