Part of my contribution to the community is help them to grow as developers and bring more new fresh content here or there.
Last month a client of mine who has very strick business model for marketing research called us to create a entire library for them to build survery quick as possible. It’s took me dozens days to develop the library and after I finish up I realize that I could create a new one more light and tiny version of that I did. And the result is bellow:
The Flex 3.0 survey 0.1 library, it’s very alpha and is very simple, not even close what we did. But in case you need to create such survey for your Flex app it should work.
SurLL, intend to get more easy to create UI survery in Flex with no extra work. Quite simple, Lovely solution and should help you to make an extra money, isn’t Jesse?!
A little FAQ is ready to get start. Here’s a example bellow that you can explore in the package.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" applicationComplete="makeMyQuestions()" layout="absolute"> <mx:Script> <![CDATA[ import mx.controls.Alert; import org.igorcosta.view.QuestionContainer; import org.igorcosta.view.QuestionTemplate; public var mysurvey:QuestionContainer = new QuestionContainer(); public function makeMyQuestions():void{ var qOne:QuestionTemplate = new QuestionTemplate(); var qTwo:QuestionTemplate = new QuestionTemplate(); var qThree:QuestionTemplate = new QuestionTemplate(); var qFour:QuestionTemplate = new QuestionTemplate(); // Add questions to the Survery Container model mysurvey.AddQuestion(qOne); mysurvey.AddQuestion(qTwo); mysurvey.AddQuestion(qThree); mysurvey.AddQuestion(qFour); addChild(mysurvey); // Set up the questions and answers; qOne.SetQuestion = 'What is your gender?'; qOne.AddAnswer('Male'); qOne.AddAnswer('Female'); qTwo.SetQuestion = "How old are you?"; qTwo.AddAnswer('12-16'); qTwo.AddAnswer('18-24'); qTwo.AddAnswer('25-32'); qThree.SetQuestion = 'Do you like milk?'; qThree.AddAnswer('yes'); qThree.AddAnswer('no'); qFour.SetQuestion = 'Are you a workholic?'; qFour.AddAnswer('yes'); qFour.AddAnswer('no way'); qFour.AddAnswer('Not sure'); } ]]> </mx:Script> <mx:Button x="46" y="420" label="Previous" click="mysurvey.previousQuestion();"/> <mx:Button x="140" y="420" label="Next" click="mysurvey.nextQuestion();"/> <mx:Label x="46" y="471" text="Question {(mysurvey.selectedIndex+1).toString()+ 'of'+mysurvey.getChildren().length.toString()}"/> </mx:Application> |
Visit the project in the Google Code host farmer.

Twitter Updates
One Comment
Hello igorcosta,
I tried the svn, but there is no repository. Could you please reupload it.
Thank You
Chetan Sachdev