How do I add a video layer with alpha channel (transparency) to an iphone app?

This is done using making animations manually. I converted the frames to png(which supports alpha channel) and played the frames with a fixed frame rate. I did not find any video that supports an alpha channel.

I'm sure with enough frames it could look smooth enough. NSArray *myImages = NSArray arrayWithObjects: UIImage imageNamed:@"myImage1. Png", UIImage imageNamed:@"myImage2.

Png", UIImage imageNamed:@"myImage3. Png", UIImage imageNamed:@"myImage4. Gif", nil; UIImageView *myAnimatedView = UIImageView alloc; myAnimatedView initWithFrame:self bounds; myAnimatedView.

AnimationImages = myImages; myAnimatedView. AnimationDuration = 0.25; // seconds myAnimatedView. AnimationRepeatCount = 0; // 0 = loops forever myAnimatedView startAnimating; self addSubview:myAnimatedView; myAnimatedView release.

Yes, this is what I did in the end. – TiansHUo Aug 9 at 10:43.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions