At its most basic, think of a Local Shared Object as a high-capacity cookie.  You're right that it's basically a bunch of name/value pairs, but the "value" can be just about any object type you'd use.  I know even less about your setup, but since you're talking about getting the information to a server you probably don't want to replace your mxml survey object, although it's not out of the question.  The advantage of a Local Shared Object survey object over an mxml survey object is persistence - that is, your data will remain between sessions, but obviously only locally (on the computer it was created on).  There's no reason you can't have both either - the mxml survey object simply gets copied to the local shared object and retrieved whenever your app starts up/user logs in/whatever.
 
Rick
-----Original Message-----
From: advantexllc [mailto:[EMAIL PROTECTED]
Sent: Monday, October 30, 2006 1:45 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: A web survey based on Flex

--- In [EMAIL PROTECTED]ups.com, "Michael Labriola" <[EMAIL PROTECTED].>
wrote:
>
>
> Overall it is not a bad way to proceed. The only place I might
direct
> you some place different is where you save to the local drive if the
> server is unavailable.
>
> For this part, I would suggest you take a look at a concept called
> 'Local Shared Objects'
>
> Without knowing all of the details of your setup, I would suggest
that
> saving an XML file to their system without the help of a server is
> going to be tricky if not impossible.
>
> --Mike
>

Thanks Mike... I did a bunch of Googling on "Local Shared Objects",
and I think I understand a little bit better now what I might do.
However, it sounds like this 100% replaces the mxml file that I had
created that was to represent my survey object... is that correct?
Essentially I'll just be creating this empty object with it's own
name, and stuffing key-value pairs into it upon each submit of a
ViewStack Canvas?

After storing all that in this generic empty object, how do I get it
to the server for proper storage in a database, and what would be the
best way to split out the data for later analysis?

I really need some help here - I think I'm really missing something
important, and I'm getting desperate to deliver this survey soon...
any help or direct contact with me would be fantastic, if someone's
willing to help out a newbie.

Thanks,

m

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to