Git Product home page Git Product logo

aszip's People

Watchers

James Cloos avatar

aszip's Issues

Zip doesn't wok with Java Server, here is the issue and fix.

When making a zip, you choose between storing the crc, uncompressed size,
and compressed size either before the file data (in the local file header),
or after the file data (in the data descriptor).  If you store it in the
data desciptor, you have to set a bit flag indicating so.  The ASZip class
was setting the crc and sizes in both the local file header and the data
descriptor, but was not setting the bit flag.  This caused the java zip
implementation to fail because there were extra bytes after the file data.
 The change I had you put in just commented out the part of the class that
wrote the data descriptor.

For more info, here's the spec:

http://www.pkware.com/documents/casestudies/APPNOTE.TXT

Original issue reported on code.google.com by [email protected] on 11 Feb 2008 at 10:21

Attachments:

ASZip alters source for files added to zips

What steps will reproduce the problem?
1. Load a SWF file in an AIR application as a byteArray so it can be
included in every zip.
var _ur:URLRequest = new URLRequest( "assets/index.swf" );
var _ul:URLLoader = new URLLoader( _ur );
_ul.dataFormat = URLLoaderDataFormat.BINARY;
_ul.addEventListener( Event.COMPLETE, _onAssetSWFLoad, false, 0, true );
_ul.load( _ur );
2. Add the byteArray to a new ASZip using addFile. (This alters the length
of the byteArray, corrupting the file. It also doesn't reset the position
in the byteArray).
var _zipper:ASZip = new ASZip();
zipper.addFile( _swfFile, "index.swf" );
3. Repeat the process again, by creating a new ASZip and adding the same
byteArray using addFile. The SWF in the zipped file will be corrupted.

What is the expected output? What do you see instead?
It should not alter the source byteArray. Also (to a lesser degree) it
should reset the position in the byteArray to where it was before adding
the file.

What version of the product are you using? On what operating system?
I'm using version 0.2 of ASZip, Flex 3.0.0, Flash Player 9 and Windows XP.

Please provide any additional information below.
You can work around this by making a copy of your byteArray using the
readBytes method to make a copy.
var tempCopy:ByteArray = new ByteArray();
_swfFile.readBytes( tempCopy, 0, _swfFile.length );
_swfFile.position = 0;

Thanks for this framework, though. It is very easy to use!

Original issue reported on code.google.com by [email protected] on 25 Jul 2008 at 6:19

Excel 2007 XLSX files created with ASzip can't be opened in Excel 2007

What steps will reproduce the problem?

1. I'm creating a class to generate XLSX files for Excel 2007, these files
are a set of XLM files zipped with XLSX extension.

2. I zip all neccesary files with ASZIP to a file named test.xlsx, it's ok.

3. I try to open test.xlsx with Excel 2007 and it doesnt want to open it,
says there is a problem with the file.

4. To test what is happening i unzip test.xlsx to a folder and then i zip
all files again manually with winrar, using zip compression instead rar, i
name this file testwinrar.xlsx, then i can open it successfully with Excel
2007.

I've attached the test.xlsx and test2.xlsx files
- test.xlsx is created with ASZIP and CAN'T be opened in Excel 2007
- test2.xlsx is created with winrar based on test.xlsx unzipped files and
CAN be opened in Excel 2007

Could you test the problem?


I'm using Windows XP - Flex 3

Thanks in advance
Raul Diaz




Original issue reported on code.google.com by [email protected] on 27 Feb 2008 at 1:19

Attachments:

The create php file is not correct

What steps will reproduce the problem?
1. The create.php file sends back a .zip file of size 0 kb
2.
3.

What is the expected output? What do you see instead?

The actual zip file created from the raw post data should be returned back

What version of the product are you using? On what operating system?

0.2 - Windows

Please provide any additional information below.

The php should have this line
  echo $zip; 
instead of  
  echo $pdf;

Original issue reported on code.google.com by [email protected] on 29 Oct 2008 at 11:05

AlivePDF does not print content of Flash Pro CS5.5 Stage

What steps will reproduce the problem?
1. Running Flash Professional CS5.5 SWF file
2.
3.

What is the expected output? What do you see instead?
Expect AlivePDF to save what's visible on the stage as a PDF.  The PDF saves 
but is blank.

What version of the product are you using? On what operating system?
1.51 on Windows 7

Please provide any additional information below.
I've added the .fla and .as files for reference

Original issue reported on code.google.com by [email protected] on 2 Jan 2014 at 9:27

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.