Edit AllPages

Describe NSSliderAndmouseUp here. CocoaDiscussions -

I’m trying to have an NSSlider where a QTMovie stops playing on mouseDown (but the slider’s Action is still being sent while the float values are changing), and on mouseUp, the movie starts playing again. I’ve tried subclassing NSSlider, but mouseUp doesn’t seem to be working. Any help?

See Listing 4-3 —- Thank you! This helped a lot.

I’m a Cocoa noob, and I had one more question. So now I want to send an action on mouseUp (I can do things within the mouseDown method, but I’m not exactly sure how to use the sendAction method).

Right now I have:

I know I’m not using sendAction properly… but what I’m trying to do is send the (mouseEvent:) action to my SliderController. What would the correct syntax for this (I’ve only sent actions through IB before… never programmatically).