A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Saving information from flash

  1. #1
    Junior Member
    Join Date
    Nov 2000
    Posts
    4

    Saving information from flash

    I have a flash page where they users will answer about 50 question, it's all yes or no question, and they are all in the same page.

    Now I would like to know how can I save the information so that the user can finish it later. I would like to do something like a save button and a load button, so the user would click save, and it would automaticly save the question, and when the user is back and click on load it would load the answers he completed.

    any help it would be nice.

  2. #2
    Junior Member
    Join Date
    Jun 2008
    Posts
    4
    Well, what I'd do is make a php backend. You could have the Finish button tell the backend to submit the form normally, and make the Save button tell the backend to save all of the questions in a cookie on the user's system.

    The load button could hit a php which loads the $_COOKIE vars and passes them back into the Flash file.

    There might be a way to do it entirely with Flash though.

  3. #3
    Ө_ө sleepy mod
    Join Date
    Mar 2003
    Location
    Oregon, USA
    Posts
    2,441
    If it isn't tied to a user-profile or anything (ie. just persistent on one computer) you could use a shared object - it's similar to a cookie but you can store any kind of data (objects, strings, arrays, w/e)...search for local SharedObjects in AS3.

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