def setMovie(self, movie):
        """
        Sets the movie instance for this button.
        
        :param      movie | <QtGui.QMovie>
        """
        if self._movie is not None:
            self._movie.frameChanged.disconnect(self._updateFrame)
        
        self._movie = movie
        
        if movie is not None:
            self._updateFrame()
            self._movie.frameChanged.connect(self._updateFrame)
            self.destroyed.connect(self.cleanup)