FZip, AIRRemoteUpdater Upgraded for AIR Beta 2

Just a quick FYI: FZip and AIRRemoteUpdater upgrades for AIR Beta 2 are now available for download.

FZip now uses ByteArray.uncompress(CompressionAlgorithm.DEFLATE) instead of the now deprecated ByteArray.inflate(). I also tweaked FZip to throw an exception when a parsing error occurs and no event listener is registered for FZipErrorEvent.PARSE_ERROR events.

AIRRemoteUpdater now gets the local descriptor XML via Shell.shell.applicationDescriptor which was added in AIR Beta 2, and uses the upgraded FZip sources.

Enjoy, and please let me know if you run into any problems with this new release.

16 Responses to “FZip, AIRRemoteUpdater Upgraded for AIR Beta 2”

  1. Apollo Desktop Photos 1.1.2 на Лаборатория Январева Says:

    [...] закончилось хорошо – производительность повысилась, AIR Remote Updater обновился до совместимости с Beta 2, обновление работает. А вот и новая [...]

  2. akeegan Says:

    i keep getting errors with the shell…
    1119: Access of possibly undefined property applicationDescriptor through a reference with static type flash.system:Shell.

  3. Claus Wahlers Says:

    What do you use to compile? Flex SDK 2 or 3? FlexBuilder 2 or 3? Flash CS3 with or without the AIR kit?

  4. Cahlan Says:

    I cannot seem to get the FZip library to work in Moxie (Flex Builder 3). Flex Builder 3 is telling me that the older syntax is right, I get two errors: “Access of undefined property CompressionAlgorithm” and “Incorrect number of arguments” for the byte array’s “uncompress” method. I tried taking out the argument and reverting to the old syntax for CompressionAlgorithm, and Flex Builder thinks it’s ok, but when I compile and test I get runtime errors.
    I assume it has something to do with the Flex SDK? Any suggestions?

    Great project, by the way.

  5. Claus Wahlers Says:

    cahlan: check out this build:
    http://codeazur.com.br/lab/fzip/download/fzip_1_0_055.zip
    does that fix your problem?

  6. benzene Says:

    Why do I use FZIP load at the beginning of the runtime errors, some time is not errors, that is the time when the zip open: (

  7. benzene Says:

    Sorry, I forgot that the development environment
    Vista 32
    Air beta2
    Flex beta2

  8. benzene Says:

    This version also solve the problem of recurring error, if I cancel following code will not errors
    / / Zip.addEventListener (ProgressEvent.PROGRESS, progress)
    / / Zip.addEventListener (Event.COMPLETE, complete)
    If not cancel regular errors

    :)
    my application:http://www.kelew.com/wp-content/uploads/2007/12/untitled.png

  9. janvarev Says:

    Good morning!

    Could you update the library to support AIR beta 3? I’m really use it in my app, so I’ll be glad to see it updated.

    Thank you!

  10. Лаборатория Январева » Blog Archive » О RAFPUG-3 Says:

    [...] (Для тех, кто был на встрече – там обсуждались AS3-библиотеки FZip и AIRRemoteUpdater, их можно найти здесь) [...]

  11. Leena Jain Says:

    I am getting a runtime error when I use it in Flex3 Beta 3 and AIR Beta3 saying ‘Error: This method is not supported if application is launched from ADL.’.

    Is the library updated for AIR beta 3?It’ll be of great help!

    Thanks!

  12. Claus Wahlers Says:

    Leena, i’ll release a new version of AIRRemoteUpdater when AIR 1.0 is released, which should be very soon.

  13. janvarev Says:

    AIR 1.0 released, we are waiting :)) Thanks!

  14. Claus Wahlers Says:

    http://codeazur.com.br/blog/air-remote-updater-upgraded-for-air-10/

  15. Sven Claar Says:

    Hi Claus,

    i think i found the problem so far. The FZipFile.as class in the air remote updater zip file are not the same as in the FZip classes archive.

    private var parseState:Namespace = fileHead; ( ;/ )

    vs.

    private var parseFunc:Function = parseFileHead; ( ;) )

    correct me if i’am wrong?

    Cheers, Sven from the flexug HH meeting

  16. oca Says:

    the fzip-prepare.py error the IO module missing, please help me

Leave a Reply