|
I've added those methods to:
First: have the movie stop playing itself when closing occurs
- (void) windowWillClose: (NSNotification *)notif
{
[movieView stop: self];
}
Second: ensure that the view is not altered by some other views under it
- (BOOL) isOpaque
{
return YES;
}
Third: avoid potential memory leaks
- (void) dealloc
{
[movieView release];
[loopMenuItem release];
[super dealloc];
}
|