PDA

View Full Version : Many xml datas over Socket?


nucklepack
07-29-2006, 09:52 AM
Hi iam new here.

hopefully iam posting in the right forum.

well i have a litle problem that hopefully might have an answhere to.

i have somehow 30 XML files with a total amount of also somehow 30 MB :eek: , the smalest is about 17kb and the biggest somehow 6 mb, those files are stored localy and normaly used for storing datas from annother application.

well anyhow i need to load and write those files from/to the local filesystem and i need to do that within a flash >swf< not projector!

i tried the past few days with a self programmed JAVA socket server to send and receive this amount of datas well an i have problems to send even ONE full 300 kb file echo it back and save it!

as far as i tested the problem belongs to flash itself, its no problem to send 300 kb but its a problem receiving them or maybe its the parse stuff i implemented.


anyhow if sourcecode is wished i will post it but i think i need answhere if this amount of datas will be possible to send to flash via socket at all, maybe with AS3 and the new socket class?

Actualy iam using the usual XML Socket and flash 8pro in a flash 9 player.

any kind of idea or answhere would help me thanks.

Fall_X
07-29-2006, 01:01 PM
Why don't you gzip the data with your socket server and unzip it with flash (and vice versa)? This can really decrease the file size a lot, like only 2% of the original sometimes.

EDIT : Woops, scrap that, you're using flash 8? This is an AS3 forum, so :

hopefully iam posting in the right forum
Nope :)

nucklepack
07-29-2006, 01:26 PM
Why don't you gzip the data with your socket server and unzip it with flash (and vice versa)? This can really decrease the file size a lot, like only 2% of the original sometimes.
..
Woops, scrap that, you're using flash 8?..oh is that a new feature of AS3? dident knew that, that would be possible iam not boundet to flash version 8 just dident worked with AS3 thatfor the question here.

ok so i will overthink my tactics and first read more on that:)