rendered paste body#!/usr/bin/env pythonimport xbmc, xbmcguifrom time import sleepfrom Animation import linear,bezierACTION_SELECT_ITEM = 7ACTION_PARENT_DIR = 9ACTION_PREVIOUS_MENU = 10class myWindow(xbmcgui.Window): def __init__(self): self.pic = xbmcgui.ControlImage(50,50,32,26,"Q:\\scripts\\animation\\vader.png") self.addControl(self.pic) def onAction(self, action): if action == ACTION_PREVIOUS_MENU: self.close() if action == ACTION_SELECT_ITEM: linear(self.pic,50,50,200,200,6) if action == ACTION_PARENT_DIR: bezier(self.pic,50,50,50,200,200,50,200,200,10)a = myWindow()a.doModal()del a