Answer:
Dancing the night away relates to flying in a sense that dancing can make one feel weightless. Dancers or simply people who enjoy the act of dancing claim that they feel "weightless", a sensation similar to flying or floating. The feeling of joy and free movement can put one in a joyous and liberating state that is like flying because of the carefree feel to it.
I hope this helps :D