This example about in and out transition which is inspired by Cave Story, i know it's not perfect, i was figuring how to work with array, actually there no animated tile background.
Demo:
Transition Demo
File:
Transition .capx
If you can improve this .capx, i would to be appreciated.
EDIT:
I forgot controls...
Left and Right Arrows - To Move
Up Arrow - Open Door
Shift Key - Jump