Until, of course, Apollo :)
 
Shan


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Labriola
Sent: Saturday, October 28, 2006 3:35 PM
To: flexcoders@yahoogroups.com
Subject: [Junk E-Mail - LOW] [flexcoders] Re: A web survey based on Flex


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

--- In [EMAIL PROTECTED]ups.com, "advantexllc" <subscriptions@...>
wrote:
>
> I posted this on the Adobe web forum, but I think I'll have better
> luck posting here.
>
> I am a newbie to flex... using flex 2 builder and cfmx 7.0.2. I have
> my first project to be done in flex -- a fairly large web survey.
>
> So far I've built the UI using a ViewStack... each canvas has one or
> more related questions. There's a previous/next button row at the
> bottom, and I eventually need it to work in such a way as to not
> allow NEXT to be clicked unless all fields on the canvas are filled
> in.
>
> My MXML file is huge, but one design goal I had was to have the
> entire survey be loaded by the user, and not communicate with the
> server again until the user has made choices on all fields and is
> ready to submit. This way, I'm hoping I can try to capture the data
> in the event that the user has an internet problem and let them try
> again or save their choices to an XML file and either email it or
> upload it later when they are back online. This is a nice thing to
> do for the user, since the survey is so long. I just want to prevent
> the survey from being interrupted, since it's so long. If the entire
> survey is loaded when the person loads the swf, and I can just
> attempt to send one survey object back to the server at the end, I
> can trap errors and provide another route to go.....
>
> I was going to use mx:Form to build the forms on each ViewStack
> Canvas... one form for each canvas, but still all bound to a single
> Survey object, as follows...
>
> So then I created a Survey.xml file that I was going to use with
> mx:Model, and try to simply create an xml tree representing a "Survey
> object", it's metadata (startDateTime, endDateTime, IP address,
> etc.), and it's questions and answers. My thought was that I could
> populate this Survey object as the user progressed through the
> ViewStack, and then send the entire object to the server when
> complete, and if that failed, ask them to try again or offer to save
> the XML file to their system for later upload or emailing.
>
> Is this a reasonable way to proceed? What are the pitfalls? Is
> there something different I should be considering?
>
> Thanks,
>
> M
>


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.17/505 - Release Date: 10/27/2006

__._,_.___

--
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

__,_._,___

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.17/505 - Release Date: 10/27/2006

Reply via email to