Here is a hint how to move, one of the possible combinations to get to the second flag: (R - Right button, L - Left button)
R R R R L + L R R L R L R L (L R R L R L R L L R R L R L R L ....)
or by the name:
up jump turn back turn + jump forward jump forward turn back back turn ... (jump forward jump forward turn back back turn...