SONG BACKGROUND (from Wikipedia): "Swinging on a Star" is an American pop song with music composed by Jimmy Van Heusen and lyrics by Johnny Burke. It was sung by Bing Crosby in the 1944 film Going My Way, winning an Academy Award for Best Original Song that year, and has been recorded by numerous artists since then.
Song writer Jimmy Van Heusen was at Crosby’s house one evening for dinner to discuss a song for the movie Going My Way. During the meal one of the children began complaining about how he didn’t want to go to school the next day. The singer turned to his son and said to him, “If you don’t go to school, you might grow up to be a mule. Do you wanna do that?”
Van Heusen thought this clever rebuke would make a good song for the movie. He pictured Crosby, who played a priest, talking to a group of children acting much the same way as his own child had acted that night. Van Heusen took the idea to his partner lyricist Johnny Burke, who approved. They wrote the song.