Double-tap the B button to activate flying.