• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSMovieView and strange image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMovieView and strange image


  • Subject: NSMovieView and strange image
  • From: Chris Long <email@hidden>
  • Date: Thu, 6 May 2004 16:49:13 -0700

I have an NSMovieView displaying in a normal window, I was setting the window's alpha level to get a transparent effect of the playing movie. All is working great and it looks great but I came across a problem.

When the window is set to different alpha levels to get that transparent effect you can see the first frame of the movie kind of stuck there in the background. If the movie's first frame is a black screen you can not see this at all. I was using a harry potter trailer from quicktime.com as a test because the first frame is a green screen with ratings, after playing I set the alpha level and there it is, the green screen.

A little further information, if you attempt to resize the window with the window resize widget, the image disappears but a new image is created at the moment resize finished, kind of like a ghost image effect. I experimented with this a bit and found out that if you do a [window setFrame:frame display:YES]; it does not change anything but if you use an animate. [window setFrame:frame display:YES animate:YES]; it gives the same result as using the resize widget.

Does anyone have any insight about this issue? Any ideas how to get rid of that unwanted pictre?

Thanks in advance,
Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Hard disk partition name
  • Next by Date: Passing strings to threads and memory leaks
  • Previous by thread: Re: Hard disk partition name
  • Next by thread: Passing strings to threads and memory leaks
  • Index(es):
    • Date
    • Thread