0 Replies Latest reply on Apr 15, 2010 2:38 PM by Flexy Flex

    Zip and Unzip Base64 Encoded file

    Flexy Flex

      Hi,

       

      Can I zip and Un-zip an xml file in a flex web application.

       

      If so can anyone please respond with sample code how this can be acheived.

       

      I have tried using the FZIP Api that I found googling for a while, but it didnt work out for my requirement.

       

      My requirement is to decode a Base64 file which is a zipped representation of the xml file coming from the back end through an HttpService.

      I need to extract the xml file from the zip and use that for populating the data grid.

       

      And Vice-versa I need to the Zip the xml file and encode it to Base64 format send it across to the backend.

       

      Thanks & Regards,

      Amarender Reddy.