• 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
Re: NSMovieView disappearing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMovieView disappearing


  • Subject: Re: NSMovieView disappearing
  • From: Fritz Anderson <email@hidden>
  • Date: Tue, 11 May 2004 12:42:26 -0500

What happens if you send setMovie: after addSubview:?

Quicktime is bound up rather intimately with the compositing architecture, and an NSMovieView with an NSMovie but no on-screen representation makes me nervous.

The next thing I'd try is adding [aMovieView setNeedsDisplay: YES]; .

-- F

On 11 May 2004, at 5:56 AM, Lorenzo wrote:

I create a NSMovieView and set its movie, then I put the NSMovieView within
the window's content view, but sometimes it disappears. I did as following:

aMovieView = [[NSMovieView alloc] initWithFrame:movieViewRect];
[aMovieView setMovie:theMovie];
[self addSubview:aMovieView];

If I resize the window or I click on the movie controller area, the movie
appears. Then if I click on the content view, it disappears.
I even call MCIdle([aMovieView movieController]) by a 0.5 timer, but this
doesn't help.

Why does my movie disappear? This problem never occurs with NSImageView.

--
Fritz Anderson
Consulting Programmer
http://resume.manoverboard.org/
_______________________________________________
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.


  • Follow-Ups:
    • Re: NSMovieView disappearing
      • From: Lorenzo <email@hidden>
References: 
 >NSMovieView disappearing (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: cmd-q versus menu item quit
  • Next by Date: Re: Customized NSTextView drawing
  • Previous by thread: NSMovieView disappearing
  • Next by thread: Re: NSMovieView disappearing
  • Index(es):
    • Date
    • Thread