Ugh, burning is not speech. The legislation has to do with burning flags not those other things you mention.
How do make the distinction between forms of expression - forms of protest. Legislation against burning the flag is the government stating that only some forms of protest are allowable.
That is not freedom.