Strength training with stretching, to include strength and stretching done at the same time, muscles respond well to stretching when some strength movement is involved.
This is just a quickie demo, but he has much more on his website and he goes way beyond just the hip flexors, because we all have multiple problems