Flood-fill Game(Starling)

I started using Starling library.
There are many things that I have to know... but it's so fast.

Flood-fill Game - the goal is change every block's color to same color. Always you start on a (0, 0) block - up left block. 