Use the left and right arrow keys to move, and the spacebar to go to the next area. To get out, press it again. Also, when you press the up key, you fly up, and when you press the down key, you fly down.
I just put a crown on the dragon, and also made the dragon turn whenever it moved, so the dragon wouldn't walk backwards when it moved left. Unfortunately, sometimes it's hard to switch areas, since it gets flashy. You can also fly up and down.