A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: opening multiple file archive - bytearray?

  1. #1
    Senior Member fantasio's Avatar
    Join Date
    May 2000
    Location
    at the progress bar
    Posts
    409

    opening multiple file archive - bytearray?

    hi there,

    a client asked me, if it is possible to open a gz or other format archive, which contains multiple files with flash and then process the files.

    i guess it should be possible with byte-array.
    i managed to open a gzipped xml file this way.
    however i am a little stumped on how to determine which file is what in the opened and decompressed archive.

    can anyone point me in the right direction?

    thanks a lot!

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    They should have an extension like .swf and you should be able to detect the files by this way.
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Senior Member fantasio's Avatar
    Join Date
    May 2000
    Location
    at the progress bar
    Posts
    409
    this is possible wih byte array?
    i have for example:
    Code:
    		
    _loader.dataFormat = URLLoaderDataFormat.BINARY;
    // then on load
    _loader.data.uncompress();
    // now the uncompressed stuff would be in
    _loader.data
    how do i process further now?

    (the files will be flv files btw.)

  4. #4
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801

  5. #5
    Senior Member fantasio's Avatar
    Join Date
    May 2000
    Location
    at the progress bar
    Posts
    409
    thank you very much!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center