{"id":45,"date":"2006-09-15T00:43:14","date_gmt":"2006-09-15T05:43:14","guid":{"rendered":"http:\/\/wahlers.com.br\/claus\/blog\/zip-it-up\/"},"modified":"2006-10-12T01:57:35","modified_gmt":"2006-10-12T08:57:35","slug":"zip-it-up","status":"publish","type":"post","link":"http:\/\/wahlers.com.br\/claus\/blog\/zip-it-up\/","title":{"rendered":"ZIP it up!"},"content":{"rendered":"<p>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?<\/p>\n<p>I&#8217;m proud to announce <a href=\"http:\/\/codeazur.com.br\/lab\/fzip\/\">FZip<\/a>, a cute little Actionscript 3 class i&#8217;ve been working on together with <a href=\"http:\/\/blog.brokenfunction.com\/\">Max Herkender<\/a> that enables you to load standard ZIP archives and extract contained files while the archive is still loading.<\/p>\n<p>FZip is released under OSI approved <a href=\"http:\/\/www.opensource.org\/licenses\/zlib-license.php\">zlib\/libpng license<\/a>.<\/p>\n<p><strong>Sample usage:<\/strong><br \/>\n<code><\/p>\n<pre>\r\npublic function YourApp() {\r\n   var request:URLRequest = new URLRequest(\"your.zip\");\r\n   var zip:FZip = new FZip();\r\n   zip.addEventListener(FZipEvent.FILE_LOADED, fileCompleteHandler);\r\n   zip.load(request);\r\n}\r\n\r\nprivate function fileCompleteHandler(evt:FZipEvent):void {\r\n   var file:FZipFile = evt.file;\r\n   trace(\"File loaded: \" + file.filename)\r\n   trace(\"  \" + file.sizeCompressed);\r\n   trace(\"  \" + file.sizeUncompressed);\r\n}\r\n<\/pre>\n<p><\/code><\/p>\n<p>Check it out: <a href=\"http:\/\/codeazur.com.br\/lab\/fzip\/\">FZip at c\u00c3\u00b4deazur brasil lab<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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?<\/p>\n<p>I&#8217;m proud to announce FZip, a cute little Actionscript 3 class i&#8217;ve been working on together with <a href=\"http:\/\/blog.brokenfunction.com\/\">Max Herkender<\/a> that enables you to load standard ZIP archives and extract contained files while the archive is still loading. <a href=\"http:\/\/wahlers.com.br\/claus\/blog\/zip-it-up\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,4,9],"tags":[],"class_list":["post-45","post","type-post","status-publish","format-standard","hentry","category-as3","category-flash","category-flex-2"],"_links":{"self":[{"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/posts\/45","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":0,"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"wp:attachment":[{"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}