advertisement

Article:
  Movies and Menus
Subject:   Clean up
Date:   2002-01-31 19:37:56
From:   michele
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];
}