Hi Dimitri,

YES! That's the solution.

I always thought, that removing on completion just removes the Animation-Object from the Layer so its memory can be freed by the garbage-collector. That it has an effect on the animated value(s) seems a bit strange to me.

But it works! Thank you very much.

- Joachim


Am 29.05.2008 um 21:53 schrieb Dmitri Goutnik:


On May 29, 2008, at 11:32 PM, Joachim Deelen wrote:

The Animation of the Filter is working fine. The ZoomBlur gets animated from 20.0 to 0.0 in 1.8 seconds. But as soon as the animation has finished, the Value for the filter instantly drops back to 20.0. I've tried different "fillModes" but to no avail. I just want to animate the Value "inputAmount" from 20.0 to 0.0 and make it stay at 0.0 after the animation has finished....



Joachim,

Try to set
zoomOutAnimation.removedOnCompletion = NO;

- Dmitri




_______________________________________________

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