If you have 2000lbs of bombs, 500lbs or more of rockets, and fuel, you MUST use full flaps, [Edit: Practically speaking] and even then you might barely make it depending on how well you can handle your ride. Full throttle, hit WEP, as you roll pop flaps so that at the end of the runway you have full flaps, and pull your gear up the second you're off the bow, as it acts as a speed brake.
As you gain a little altitude and speed slowly retract your flaps so that you don't instantly drop into the water once you are off the bow and think "Okay, now pull the flaps up".