WAY TO GO CLAUS!
WAY TO GO MAX!

Just Beautiful, Flash supports ZIP natively now!

Ted Patrick
Flex Evangelist
Adobe Systems Incorporated


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Claus 
Wahlers
Sent: Friday, September 15, 2006 1:08 AM
To: Flashcoders mailing list; [email protected]
Subject: [flexcoders] Introducing FZip... ZIP it up!

Did you ever write an image gallery or a game in Flash? Did it bother 
you to write rather complicated load queues to load lots of small files 
such as image thumbnails or game assets like tiles? Are you working with 
big text files and need a reliable way to compress/uncompress them to 
save valuable bandwidth?

I'm proud to announce FZip, a cute little Actionscript 3 class i've been 
working on together with Max Herkender [1] that enables you to load 
standard ZIP archives and extract contained files while the archive is 
still loading.

Check it out:
http://codeazur.com.br/lab/fzip/

ASDocs:
http://codeazur.com.br/lab/fzip/docs/

FZip is released under OSI approved zlib/libpng license.

Sample usage:

public function YourApp() {
    var request:URLRequest = new URLRequest("your.zip");
    var zip:FZip = new FZip();
    zip.addEventListener(FZipEvent.FILE_LOADED, fileCompleteHandler);
    zip.load(request);
}
        
private function fileCompleteHandler(evt:FZipEvent):void {
    var file:FZipFile = evt.file;
    trace("File loaded: " + file.filename)
    trace("  " + file.sizeCompressed);
    trace("  " + file.sizeUncompressed);
}

[1] http://blog.brokenfunction.com/

-- 
claus wahlers
cĂ´deazur brasil
http://codeazur.com.br


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links






 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to