A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Storing Data

  1. #1
    Senior Member
    Join Date
    Apr 2001
    Posts
    190
    Ahh.. This server is awesome. How does it compare (speed-wise) to sending raw data through XML. And what is the fast form of sending data with flashcomm? Client/NetConnection.call??

    What function can be used to store and object or possibly write a file on a flash comm server? Is there a way to make the shared object save to the server, and not be deleted when the server shuts down? or maybe a way to write a text/xml file or anything?
    I'm terribly stumped

    Thanks in advance,
    Somar!

  2. #2
    psx = new Moderator();
    Join Date
    Jan 2001
    Posts
    923
    Hey Somar!
    To make a shared-object stay when the server is shut down, simply set it's persistance to true.

    my_so = SharedObject.getRemote("my_soName",connection.uri, true);

    I believe flashcomm is faster than xml, but haven't really looked at the packets to prove it. My complaint with xml is that there is alot of extra stuff that must be sent, just by nature of xml. Ie.. all the tags needed to make it xml.

    I believe there isn't much difference in speed with netConnection.call vs onSync, etc.

    Ps - sorry I've so non-existent for project hybrid! I've got way too much work to do at the moment.. hopefully I'll get a break in a few weeks.

    Psx

  3. #3
    Senior Member
    Join Date
    Apr 2001
    Posts
    190
    Hey john!
    Uh. Thanks! What's your AIM/MSN/ICQ/IRC CHAN/whatever

    ^_^

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