If you want to use the window then place all animation frames in one bitmap and use varX and varY of the window to animate it.


Always learn from history, to be sure you make the same mistakes again...