A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Saving to a file without using AIR

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Posts
    2

    Saving to a file without using AIR

    I'm developing a small Flex app that will run on the desktop in a projector. I need to be able to save a small amount of data to a text file and read it back in later. I realize I could build this as an AIR app, but I don't want users to have to deploy AIR, particularly since it's still in beta.

    I was looking at using the fscommand functions in Swish Studio, but I don't see any way to adapt them to Flex (they're very timeline based). Can someone offer some suggestion about another product or method I might be able to use?

    Thanks for your help.

  2. #2
    Member
    Join Date
    Nov 2005
    Posts
    68
    Maybe u could use a shared object to store the data ?

    grtz,

    b

  3. #3
    Junior Member
    Join Date
    Dec 2007
    Posts
    2
    In the end that was the solution I went for, using a shared object to store the data. But I was storing quite a few objects and each record stored was taking 3K or so. To bring that down I ended up storing everything as one long string and then exploding that back into variables. It's an ugly solution, but it worked.

    For my next project I'm looking in to tools like SWFKit to see what I can use to extend the storage possibilities.

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