Cool!
That was freaking amazing for a first flash, you definitely have potential! I really liked how you used the looping background technique when Sonic was running, it took me ages to figure out how to do that lol! Anyways, the only thing I would recommend you do is up the quality of your sprites a bit for the next one. Anyways, good job!