Creating a Survey in Flash MX

Posted on 2003-02-24
Medium Priority
Last Modified: 2012-06-27
Hi All,

I am wondering if it is possible to create a survey in Flash MX and Cold Fusion Server 5 that would collect data via a Flash based form, quantify the data and output the results (in graphical format as well - if possible).

Here's the breakdown:
1. Create a form based survey in Flash with x number of questions. For now, let's say the questions conditional (Yes or No). Let's say each 'Yes' question is = 5 points, while each 'No' = 0.

2. After submitting the form, calculate the total points and have that total be displayed on either a a new Flash page or on an area in the original Flash form. If the output is posted on the original Flash form, the form fields would have to be reset.

Assuming that all of the above is possible (and I'm hopeful that it is), here are a few items that I would also like to ask:

1. What other tools would be required, e.g. Generator?
2. Are there any issues using Flash MX and CF Server 5 for this app? Would it be better to keep everything in the MX family?
3. What is the difficulty involved considering that I'm an intermediate Flash user?
4. Are there any misc. resources that you could recommend?

Thank you in advance.
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Accepted Solution

henryww earned 400 total points
ID: 8015857

1) MX & CFM ... done!

2) u create the complete Q/A interface in flash and use the coldFusion to take care of the forms (submitted) & inserting data etc. well, i have to say i don't know anything about coldfusion, just don't the money and not many clients are willing to spend money to do things where we can get it done completely without using CF, as a matter facts for what u want, it can be done, using php,mySql and flash only - everything is free (except flash u have to buy the application, but no charge for the server)

3)if u know basic flash action script ... no problem at all, forget about the design and interface, the logic can be done in 1 hr :)

4)hmmm ... not right now, but have u try to searh flashkit or something to get some example and source.

... see in ur case, u only need to add/minus all the scores in flash and send the final score + user info etc to the CFM.

so in ur movieclip u have say 10 key frame, each frame has 1 question & 2 choices etc, use the flash option button to get the answer, create a button to accept the answer, once clicked, check for the correct answer, add the pts to the /:root_score, then goto next question ...

last frame, but a little form to ask user info etc, then with a submit button ... click click...

// submit with MX is very easy
//construct a LoadVars();
myQA = new LoadVars();
myQA.username = /:txtUsername;
myQA.emailAddress = /:txtEmail;
myQA.score = /:finalScore;

// the next thing u need is to fetch the posted data in ur CFM ... DONE...


Expert Comment

ID: 8024356
henryww has answered most of ur questions and his answer is great. Well u don't need to keep everything to the MX family (flash MX and CF MX) unlessing u are doing flash remoting. The software u are using will be good enough.

Expert Comment

ID: 8024395
thanks elhy ... but i am sure with ur help we can get this one done easily ... u have cf experience right, and i don't even have a clue


Expert Comment

ID: 8024699
;) yeah...I'm actually a programmer. Quite familiar with CF, ASP and flash. Though not an expert ;)

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question