def run(self):
        self.pic_params['pos'][0] += self.screen_offset
        # pre-cache the media files...
        self.precache_picture(self.pic_on)
        self.precache_picture(self.pic_off)
        while True:
            if not self.focused:
                self.iscued = False
            # show the "off" picture for the inter-event interval
            self.picture(self.pic_off, self.event_interval(), **self.pic_params)
            # show the "on" picture and cue the other items
            self.marker(self.markerbase+1)
            if self.focused:
                self.iscued = True            
            self.picture(self.pic_on, self.duration, **self.pic_params)