I base, fly and back so for flexibility:
Left/right leg- lunge with hands on the ground for 1 minute, then lean back on your other leg so its like you're sitting on your knees excpet with one straight out and get your chest down on you knee for 1 minute, then go into your split and try and get your chest on your knee for 1 minute, then if you're completely in your split on the ground try to pull up your back leg toward your head for 1 minute. The switch legs.
Middle- sit in a straddle and get your chest down on one leg, then on the ground in the middle, then the other leg. Then go into your middle split and try and pick one leg up and then put it down then the other.
Tips- Don't open your hips in your split, be able to have your hips facing the direction of your front leg like headlights. Make sure your feet aren't rolled in because when you're jumping, it will look really bad.
As for stunting, make sure you pinch a penny in your butt, pull up your shoulders while keeping them relaxed, and squeeze your abs REALLY tight. Fir your ankle, I would say an ankle brace might help. You might want to ask your backspot to really hold your ankles steady.
Hope this helps, and sorry for being extremely long.
SHOCK FOREVER