This would be an example of a permutation since order will matter( red,blue is not the same as blue red.
For the first flag he has 11 choices. For the second 10 choices. For the third 9 and 8 for the fourth
So he can send 11 x 10 x 9 x8 different messages
This equals 7290