'zlib.inflate the SWF file.
:param swf_content: The SWF file.
:return: A decompressed version of the SWF'

def _inflate(self, swf_document):

    compressed_data = swf_document[8:]
    try:
        uncompressed_data = zlib.decompress(compressed_data)
    except zlib.error as e:
        raise ValueError(('Failed    to    inflate:    ' + str(e)))
    else:
        return uncompressed_data
