The study of the history, symbolism and usage of flags is called...
Vexillology is the scientific study of the history, symbolism and usage of flags or, by extension, any interest in flags in general. A person who studies flags is a vexillologist, one who designs flags is a vexillographer, and the art of flag-designing is called vexillography.