nsmovieview problem
nsmovieview problem
- Subject: nsmovieview problem
- From: Christian Brandt <email@hidden>
- Date: Thu, 5 Sep 2002 11:09:57 +0200
Hi all,
I have this problem with the new 10.2 dev tools (including august
update), but not in the previous release:
I created a very simple project, containing a window with a drawer. The
content view of the drawer contains only one view, an NSMovieView, and
the window contains a button to open/close the drawer.
The movie is displayed and plays with an offset of 8 pixels to the top
and to the right, the lower and left 8 pixels inside the view's frame
being painted black.
If I put the NSMovieView directly in the window, everything is fine. It
seems as a bug for me ??
Here is the code of the window controller:
MyWindowController.h:
/* MyWindowController */
#import <Cocoa/Cocoa.h>
@interface MyWindowController : NSWindowController
{
IBOutlet NSMovieView *myMovieView;
}
@end
MyWindowController.m:
#import "MyWindowController.h"
@implementation MyWindowController
- (void) awakeFromNib
{
NSMovie *movie;
movie = [[NSMovie alloc] initWithURL: [NSURL fileURLWithPath:
@"movie.dv"] byReference: YES];
[myMovieView setMovie: movie];
}
@end
thanks in advance
Christian Brandt
_______________________________________________
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.