Why are movies called flicks?

What about Spike Lee calling his flicks joints. I’ve wondered about that. The answer is probably obvious, but much of the time obvious things are the hardest for me to see!