Re: CAKeyframeAnimation problem
Re: CAKeyframeAnimation problem
- Subject: Re: CAKeyframeAnimation problem
- From: "David W. Berry" <email@hidden>
- Date: Mon, 13 Jul 2009 17:42:17 -0500
The work-around did, indeed, solve the problem I was having with the
sequence, they now play correctly from start to stop.
If I might prevail upon you with another question, the goal is to
trigger a short animation, leaving the last animation frame displayed
as a lasting part of the image, right now I have a flicker as the
animation is removed and then the underlying view is redrawn with the
added image. What's the convenient way to avoid the flickering?
David W. Berry
email@hidden
16709 Decker Creek
Manor, TX 78653
H: 512 276 1396
M: 512 293 5183
On Jul 13, 2009, at 1:06 PM, David Duncan wrote:
On Jul 12, 2009, at 2:17 PM, David W. Berry wrote:
So the jist of it is that I create a subclass of
CAKeyframeAnimation that has a sequence of images in it's values
property and a sequence of frame durations in the keyTimes
property. I can then add the animation to a layer to display and
that's where the problem arises. The first time (and only the
first time) the animation is played the first few frames don't
display (the movies are short, they only consist of 3-12 frames at
15fps) After the first time I play the animation and it fails, I
can play the animation just fine.
Please file a bug report on this issue.
One work around is to animate the contentsRect property instead of
contents and use the contentsRect to select a portion of a single
image that is assigned to the contents property of the layer.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden