Yes, flying happens when you complete a certain mid game quest
. Oh, and the location of the treasure is always a random one of those exes. Meaning that you will sometimes, but rarely, be unable to do that quest until later in the game. Kinda a weird decision in my opinion.