Re: NSMovieView disappearing
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.