Re: UIImageView Animation Question

2009-11-27 Thread Matt Neuburg
On Fri, 27 Nov 2009 15:53:30 -0800, David Duncan said: >On Nov 27, 2009, at 2:02 PM, Matt Neuburg wrote: > >> It's really another case of a poor choice of terminology, isn't it? (By >> "another" I am referring to my recent critique on this list of the confusing >> over-use of the term "key" throug

Re: UIImageView Animation Question

2009-11-27 Thread David Duncan
On Nov 27, 2009, at 2:02 PM, Matt Neuburg wrote: > It's really another case of a poor choice of terminology, isn't it? (By > "another" I am referring to my recent critique on this list of the confusing > over-use of the term "key" throughout the animation stuff.) Here we are in a > graphics world,

Re: UIImageView Animation Question

2009-11-27 Thread Matt Neuburg
On Thu, 26 Nov 2009 22:27:39 -0800, David Duncan said: >The context parameter for beginAnimations:context: is just meant as a token for you to use should you use the callbacks that let you know about the progress of the animation. The value is completely arbitrary It's really another case of a po

Re: UIImageView Animation Question

2009-11-26 Thread David Duncan
On Nov 26, 2009, at 11:31 AM, Philip Vallone wrote: > Hi David, > > Thanks for the reply. When I remove the reference to > UIGraphicsGetCurrentContext() my Image doesn't drop in. > > Removed: > > CGContextRef context = UIGraphicsGetCurrentContext(); > [UIView beginAnimations:@"moveImageDown" c

Re: UIImageView Animation Question

2009-11-26 Thread Philip Vallone
Hi David, Thanks for the reply. When I remove the reference to UIGraphicsGetCurrentContext() my Image doesn't drop in. Removed: CGContextRef context = UIGraphicsGetCurrentContext(); [UIView beginAnimations:@"moveImageDown" context:context]; The following code works: imageView = [ [

Re: UIImageView Animation Question

2009-11-26 Thread David Duncan
On Nov 25, 2009, at 3:49 PM, Philip Vallone wrote: > CGContextRef context = UIGraphicsGetCurrentContext(); > [UIView beginAnimations:@"moveImageDown" context:context]; > [UIView setAnimationDuration:1.0]; > [imageView setCenter:CGPointMake(295, 480 / 2 )]; > [UIView

Re: UIImageView Animation Question

2009-11-25 Thread Philip Vallone
Never mind, I figured it out. Regards, UIImage *image = [UIImage imageNamed:@"top.png"]; UIImageView *imageView = [ [ UIImageView alloc ] initWithFrame:CGRectMake(295, 480/2, image.size.width, image.size.height) ]; imageView.image = image; imageView.trans

UIImageView Animation Question

2009-11-25 Thread Philip Vallone
Hi, I have a UIImageView that overlays a MPMoviePLayerController. When the movie plays, the view is in landscape. I want to have my overlay image to drop from the top of the movie and move down. The below code rotates the image. How do I get this effect? - (void)showOverlay:(NSTimer *)timer {