Any Windows External coders out there?

Monte Goulding monte at sweattechnologies.com
Tue Jun 3 17:17:02 EDT 2003


> 
> >> For a project I am working on I need access to zlib decompression
> >> (Version 6 SWF files can be compressed using zlib and I need to
> >> decompress them to get their header information).
> > Check out the compress/decompress functions. They use zlib.
> 
> Hmmm, I tried that once but kept getting an error message that the 
> string I provided wasn't a compressed string so assumed the functions 
> used a different compression type.  Must have been user error, I will 
> give it another go.
> 
You can get that if you don't read in the file as binary. Try:

 decompress(url ("binfile:test.swf")) 

Cheers

Monte



More information about the use-livecode mailing list