• 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 problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Startup App At Login
      • From: "devdrvr.net Multi-Platform SW" <email@hidden>
  • Prev by Date: Searching AddressBook
  • Next by Date: Trouble after updating DevTools
  • Previous by thread: Re: Searching AddressBook
  • Next by thread: Startup App At Login
  • Index(es):
    • Date
    • Thread