Spaceflight refers to transportation through space, on a vehicle called a spacecraft. Some more advanced pre-warp cultures possessed limited spaceflight capabilities, although they were mostly bound to their own solar system, because their space vessels were sublight, meaning they weren't as fast as the speed of light.
According to certain reports, the Sarpeidon natives did not possess spaceflight capabilities, which is why the crew of the Enterprise was surprised to find their homeworld had been evacuated. (TOS: "All Our Yesterdays")
In 2285, while Spock's katra inhabited his body, giving him the appearance of madness, Doctor Leonard McCoy was attempting to charter a spaceflight to the Genesis Planet at a bar in San Francisco. When a Federation Security agent overheard his conversation, he offered to give the doctor a ride home. Dr. McCoy did not see the logic in such an offer, since he was trying to charter a spaceflight. (Star Trek III: The Search for Spock)