>  I've tried with a animated gif, unfortunately when pressed it doesn't
>  start the animation.

  That's because NSButtonCell really doesn't have the ability to
animate an image on its own. The simplest setup is to use NSTimer to
periodically 'advance' the frame of your animation by setting a new
button image. Be reasonable with frame rate (ie, your timer interval),
though. :-)

--
I.S.
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to