Advantages
A major advantage of C-4 is that it can easily be molded into any desired shape. C-4 can be pressed into gaps, cracks and voids in buildings, bridges, equipment or machinery. Similarly, it can easily be inserted into empty shaped charge cases of the type used by military engineers.
C-4 is very stable and insensitive to most physical shocks. Detonation can only be initiated by a combination of extreme heat and a shock wave, as when a detonator inserted into it is fired. C-4 cannot be detonated by a gunshot or by dropping it onto a hard surface.
http://en.wikipedia.org/wiki/C-4_%28explosive%29Wikipedia is always right. From what this says, I think that throwing it onto a fire and beating it will not cause enough pressure, and may bring about insufficient heat as well.
If you don't like my interpretation, you're free to test if beating burning C4 will cause it to explode. :-)