Foam pit helps alot. Make sure to do the jump, or flyout a few times at a consistent speed and time how long it takes you to land from when you leave the ramp so you know how fast or slow to flip.
Also, COMMIT 100% or else it wont work, you have to be positive in your mind that you wont bail mid way through the flip.
Decent speed, Pull your bars backward hard, try to look over your head. (Look back)
Dont start rotating until youve left the ramp.
DONT let go, hold on, dont stop rotating.
And yah, foam pit helps fuckloads.
the main thing u need to do is bend ur legs as soon as u get to the bottom of the ramp then pop ur legs look back and pull at the same time and there you hav a backie