It describes the absence of anything to give the object a definite shape. It can be internal or external. In the case of a flag, it would probably be external. Someone is holding the flag outstretched; the flag is lying on a table; a stiff breeze is extending the flag outward from a flagpole.
If we say a person's arms are hanging limp, we mean that his muscles are completely relaxe