Presentation of several question choice + possible answers

Nice day

I want to implement a questionnaire multiple choice. The title of the question and the question responses are returned to flex to db in xml format. I would like to display 2 questions at once. The amount of questions will change a test, but still more than 2, so I would need a paging mechanism. I made successfully all questions on top a canvas using a repeater control with a label (for the title of the question), and a list (for the possible answers to the question). The values in the list are defined at runtime using the notation of Repeater [index] to access the children of the list and the text property of the label is linked to the currentindex Repeater dataprovider data. But now, I don't want any questions showing at the same time, only 2 at a time with a next button. I can correctly set this up with the list control in my repeater object, however the label control will not react. Here is my code:

< mx:Repeater id = "quesRepeater" >
< mx:Label id = "quesTitle" text = "loading...". "fontSize ="12"fontWeight ="bold"color ="#400040"> < / mx:Label >
< mx:List id = "ques_list" labelField = 'Question' width = "599" borderStyle = "none" click = "ans_ID = event.currentTarget.selectedItem.ID; ans_QuesID = Event.currentTarget.SelectedItem.QuesID; ans_QuesText = Event.currentTarget.SelectedItem.question; addAns_Array (ans_ID, ans_QuesID, ans_QuesText) "> < / mx:List >"
< / mx:Repeater >

private function pop_quesList (): void {}
quesRepeater.startingIndex = curr_quesno;
quesRepeater.count = int_quesno;
quesRepeater.dataProvider = course_quesList... record. (OrdinalPos == 0);
for (var i: Number = curr_quesno; i < des_quesno; i ++) {}
ques_list .dataProvider = course_quesList... record. (QuesLevel == 1 & & QuesID == i);
* quesTitle
.text = course_quesList... Notice . (OrdinalPos) == 0). Question;
}
}
Everything works except...
* This line returns the correct value, but fails to set the text property of the label in the repetition. (the error of the manufacturer is 'Access of undefined property quesTitle') - but the lable id is quesTitle.

I'm missing something here? or if anyone has another method (completely) to propose, please you can help - this is the last part of the larger project that I really want to complete and to move from.

Thanks in advance,

JP.

PS: Using flex 3 If this is useful.

OK I got it working - hotwired maybe but hey I'm just a beginner. Suggestions for a better solution are always welcome.

Basically, created a virtual table to be a separate dataprovider for my repeater control label. The table contained only 2 questions. Updated the table with my questions for the loop, which keeps the correct question with the correct answer choice. The loop is executed with a new starting value after a next button was click and ta da it works with pagination issues and labels.

If anyone wants to help with this, feel free to contact me.

Cheers, JP

Tags: Flex

Similar Questions

  • Several Question choices

    I am creating a quiz for my captivate 7.0 project. When I put in a multiple choice question, Captivate generates only two alternatives. What framework I change if I get four alternatives by MCQ? Thank you!

    Select the slide, open the Quiz properties > General > answers

  • How can I add more possible answers to a question of sequence?

    Hello

    I inserted a sequence question slide (survey, unmarked).

    The default value is just two possible answers: a) and b). How can I add more possible answers (also known as [Default Question Answer Style] "?) I have about 6 responses I would get (a, b, c, d, e, f).

    The I tried by pressing return and typing, press the tab and copy and paste b) reply text area field.

    Thank you!

    I just found the answer.

    DUH!

    I didn't know I could do this via the Quiz properties panel.

    THX

  • Satellite U405D - several questions about overheating/disassembly/upgrading etc.

    Hello

    I have several questions about my old one by Satellite U405D-S2910

    1. when it works, after 2-3 hours (I run usually small programs such as safari, msn messenger and bsplayer) CPU gets 85 to 90 C (178-188). When I play age of Empires 2 (come on, its an old game) like 2-3 hours, it stops. What could be the possible reason? Furthermore, let me inform you about the climate of the city I live, 30 c temperature - humidity 25-35% (today).
    PS. CPU is AMD Turion 64 X 2 Dual-Core Mobile Processor. Model RM-74

    2. I'm going to disassemble my laptop in order to clean its cooling units (I think at the rate of overheating is this). It does seem like a desktop computer, so complicated. Ive seen a disassembly not to not (btw, its so difficult to spell dismantling :) I think Im going to do this. What are your suggestions on this subject? experiences could help me?

    3. my laptops is Ram 2x2gb PC5300 DDR2 667 MHz SDRAM memory, I want to replace RAM memory 2x2gb MACH XTREME DDR2 1333 MHZ CL9 NOTEBOOK. Should I do it? Fit my portable, stable work? any suggestions?
    PS. motherboard chipset AMD M780V

    4 - Finally :), should I use OS 64 - bit or 32-bit OS (win7)? what OS would you use if you were me?

    Thank you.

    Hey Buddy,

    1 + 2. I think everything is related to a higher internal temperature and you must clean your laptop using a jet of compressed air. That is why it s not necessary to remove, just blow softly and soon the air through the laptop. You can buy such compressed air which squirts of each computer store I think and it takes only 5 minutes.
    You can find a useful article about this here:

    3. in my opinion he should forget this update! The speed of the RAM is related to the FSB of the CPU and as much as I know about Satellite U405D it s 667 MHz so it s already the RAM faster than you can have. Save your money and buy a larger HARD drive or in the best case a SSD that can really improve the performance!

    4. in my view, the answer is clear: Windows 7 64-bit.
    Only a 64-bit OS supports full 4 GB of RAM. ;)

  • Re: Several questions about the recovery of the Satellite L750 features

    I have several questions about the recovery of Satellite L750 features available to it. Any help and answers would be useful.

    (1) when I started the laptop first, he asked me to create a recovery CD incase I need to reinstall the operating system. But he also said that he built in the recovery partition, so therefore, I have to make a recovery cd or not?

    (2) will be the recovery CD is exactly the same as the recovery on the system partition?

    (3) is the partion of CD or recovery includes all the integrated software pre-installed with the laptop?

    (4) also in the device manage management it shows watch partion recovery but it is empty, is it true?

    (5) in the second partition (drive D) system, he has a record with what looks like the recovery of files and folders. Is it safe to move/remove it?

    Hello

    I'll try to provide answers:
    1 - to ensure that everything works perfectly you don t need these discs, but if something goes wrong with the HARD drive you will not be able to do anything. When you have the recovery DVDs, you will still be able to install the recovery image and once again the factory settings. So my advice to you is: create these discs as soon as possible. Use only on DVD-R media and buy products of high quality (TDK or Verbatim).
    2 - Yes.
    3 - Yes.
    4 - No. Don t be confused with this.
    5. in a first time create restore DVD, and later you can do what you want. I put t know which files mean you but don t touch anything before that of the recovery disks to be created.

    In the past, many people have been experimenting with the structure of HARD drive and partitions and later was surprised when installing disk recovery HARD has been damaged. Don t make the same mistake.

    If you have any other questions you are welcome.

  • Several Question about Push Service

    Hi I am just learning the concept of Service Push on BlackBerry

    I have several question on initiator to push:

    -If there are a lot of app activate push (client), can push initiator must send request message (for the customer)?, or Push initiator must send for each customer (so should send 10 times so have 10 client)?

    There's a ceiling / push message max can send daily (free)? I intend to send message 3 to 5 a day

    -Is there a max client limit / receiver (on free)? What about 1,000,000 customer

    -Can I send ads or promotion on push message?

    Thank you

    Hello

    Grand tour of questions, I'll do my best address:

    (1) are you referring to multiple devices or multiple different applications? I'll answer both:

    Features: A push message can be sent to one or more devices. So, you can send a surge of broadcast to all registered devices.

    Applications: Push accounts don't support a single application, there is a 1:1 relationship. You can, however, apply to many accounts to push. We have some suppliers with dozens of accounts.

    (2) push is only offered as a free service today. There are daily caps imposed, but these caps can be * very * flexible (we can always increase your cap if necessary).

    (3) there no limit to how many customers once your account grow flies over to the production server. For the test, we need each account to start pushing the testing server which limits the number of users at 50.

    (4) at present there is no restrictions on the content of the payload to push. We do not recommend an option to allow users to not receive messages however push.

  • Several questions with PPCS4

    Aloha and everyone,

    I have several questions with PP - CS4, they are:

    (1) the Sony HC-7 & 9 are not expressly listed in the Group of Capture Settings tab, "Device Control > Options button > device brand > Sony > DeviceType ' why?

    (2) my Sony HC - 7 camera is online, the Capture Panel is open, the settings tab is selected in the capture settings window click on "Capture Format HDV", the button modify immediately below appears and opens a dialog box, the value default "Format of Capture" bed "HDV", to the immediate right is a button "PARAMETERS of HDV.  This button is active, but when you click on it, there is no response.  This button is supposed to operate alone or do a bug?

    (3) a clip was made in the encoder and classified by subject for later use, including possible placement on a URL of stock footage.  This clip can be reused and essentially rendered again for use in a DVD or for placement on u-tube.

    (4) after washing of the gases through all clips in a "specific timetable", I want to move to a 'sequence' I titled "FRONT BEING RENDERED.  Cut / paste does not work to navigate between the sequences.  Is there a way?

    (5) in the timeline panel, after washing, I renamed the clips and added code comments.  When I export the clips thru 'Encoder' element names are lost in the process.  "Encode" supposed to work this way?

    (6) in the opening "encode". the upper part of the widow of the display indicates "drag - move clips or use the Add button", but when I go back to the timeline to select clips, I'm prevented drag / drop.  What I am doing wrong?

    It's enuf for now.

    mahalos much help...

    Cut & paste does not work to navigate between the sequences.

    It does for me.  What happens when you try?

    When I go back to the timeline to select clips, I'm prevented drag / drop.

    Drag-and - d├⌐poser is for real media files, no clips in first.  To add first, you can either export > media first, (the normal way when the first is opened) or using the command line of SOUL, to add a first sequence.

  • Several Questions about educational Versions of the software

    Well, I have several questions about teaching from Adobe software.  I will attend school in the near future (now I'm not enrolled in any type of school) and I see that Adobe has huge discounts on "educational software".

    What exactly is the difference between the "commercial" version of a program and an educational version?  Do you need some kind of student card to activate an educational version, or proof that you are in school, or something special like that?  I noticed people unopened sell educational versions on eBay and I heard there is no differences between the software, but this makes me wonder... why the price difference?

    Also, I intend on buying another Mac in the near future - probably for the school.  My second question is - with this software (education), is that I can put programs on my desktop and my laptop, or they won't work on one person on one computer?  I've heard people that serial numbers cannot be activated so many times.

    Last question.  My HDD recently crashed and I lost a good bit of things and had to re - install everything.  If this would never happen again, reinstall all Adobe programs on a hard drive nine?  Or I will meet the all 'serial numbers cannot be activated so many times?

    Very well.  I think about the fact.  Any input would be great.  Thank you.

    -Mike

    In terms of content, there normally is no real difference between the editions of the retail and educational/student. There may be some additional fonts or clip art in the commercial version, but this varies from one version to the other, and a product.

    You must qualify to buy an educational/student version. These qualifications are listed on the Adobe Web site. Normally, you must provide proof of reserve that sells licenses of software for you. You can not buy now for the reason that you will be a student in the future. You must have purchase student status.

    Unlike versions of retail, education/student Adobe versions software are not transferable. Sale of such software 'closed' on eBay must be regarded with suspicion. Adobe resellers do not offer software on eBay sales. The software is either stolen, used (but reconditioned), or pirated goods.

    Most of the Adobe software, including the Creative Suite software, can be activated at the same time on two computers owned and used by a single individual. second computer is usually a laptop, if first computer is a computer at home for students. For retail sales, usually first computer is a desktop computer and the second computer is a mobile computer or at home. Computers must not run the software at the same time. And No, two students may not share a single copy on two separate computers.

    The software can be turned on and off but after 20 or if these cycles, you will need to call Adobe and explain what is happening to get characters such cycles. If you are enabled on both systems and a hard drive or a computer turns off and you need to reinstall the software without having the possibility to disable the system blew, Adobe activation support group normally will be granted an additional activation, assuming that you do not have a record of abusing the privilege (as your hard drive breaks down once a month!).

    -Dov

  • I forgot the answer to my security question, I tried to update these answers, but to update them also, I must first answers old issue of security which I forgot how can I update and change my security question and the answers?

    I forgot the answer to my security question, I tried to update these answers, but to update them also, I must first answers old issue of security which I forgot how can I update and change my security question and the answers

    ?

    You must ask security team account Apple to reset your security questions. To contact them, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.

    (143315)

  • Several questions after restart explorer.exe

    I have several questions after I ended the process explorer.exe and reopened. "Ctrl + Alt + Delete" only opens the Task Manager (and neither do "Ctrl + Shift + Esc"), the level of the battery is displayed on my taskbar, my wallpaper mysteriously changed, etc.

    What happened in detail was:

    My taskbar was hidden behind a window I had open. For example, if I open the Chrome, Chrome window cover at the bottom of my screen, with the taskbar behind it. The taskbar was NOT to hide and minimize. So, I took the advice to restart my explorer.exe. However this is not going smoothly. I couldn't bring up the task in any Manager. I could not even restart my computer. The only thing I could do was click on the space bar, which makes "click on" my browser Chrome which was open at the time. This allowed me to open a task manager with control of Chrome ONLY. Chrome, I've navigated to C:/.../explorer.exe and double clicked on it. I got my taskbar and the office back, although very distorted. Now, there are still a lot of questions I need to recover from. I think it might be a problem starting some .exe that could somehow have disabled. I would be happy to provide any additional information.

    This is a safe operation restart explorer.exe. Your catalogue of failures suggest that you have some fundamendal problems. I would like to use the system restore to go as far as I could. If that fails to solve the problems, then I'd go for a destructive factory restore.

  • Several Questions about Visual Studio Express 2012

    Hi, I have several questions about Visual Studio Express 2012.

    1 is. each product (for the Web, Windows Phone, Windows 8, for office, etc) of Visual Studio Express 2012 using the individual installation package? Do I have to do the installation for each product? Is there an integrated package for all these products?

    2. the IDE of Visual Studio Express 2012 there a difference with other versions of charges, such as automatic and semiautomatic filling?

    3. don't Surface Pro 128 G meets the minimum hardware requirements for Visual Studio 2012 requirements and Visual Studio 2012 runs smoothly on Surface Pro?

    4. What is the difference between full MSDN and essential version in detail?

    Thank you.

    Hello

    Please post any questions about Visual Studio on the following forums.

    Category Visual Studio:

    http://social.msdn.Microsoft.com/forums/en-us/category/VisualStudio

    Concerning

  • Im having a problem with your security software.  Your data bass must be bad, now I can't have spent my address question.  Ive answered all questions to the best of my knowledge and software has always said that my answers are incorrect

    Im having a problem with your security software.  Your data bass must be bad, now I can't have spent my address question.  Ive answered all questions to the best of my knowledge and software has always said that my answers are incorrect

    Hello Bernard,.

    You sign a document that has authentication based on knowledge, applied in it? If so, and if you can't go to questions, then you will need to contact the sender of the document because they can remove it and return you the document. You can respond directly to the e-mail received esign and happens directly from the sender.

    Kind regards

    -Usman

  • Question, is possible to buy 1 license of the singular for Adobe Creative Suite 6 Design Standard.

    Question, is possible to buy 1 license of the singular for Adobe Creative Suite 6 Design Standard.

    Hello

    Please see the links for more information on Adobe Creative Suite 6 below.

    FREQUENTLY ASKED QUESTIONS | Standard design Adobe Creative Suite 6

    Product comparison | Adobe Design Standard CS6 - buying guide

    Creative Suite 6

    I hope this helps.

    Kind regards

    Vivet

  • This question is not answered

    Is not answering this question. Helpful answers available: 5. correct answers available: 1.
    why exact post come upwards at the top of each thread?

    deebee_eh wrote:

    This question is not answered. Helpful answers available: 5. correct answers available: 1.

    Why exact position is launched at the top of each thread?

    Because when you post a question, you can give points for a total of 6 positions, as it says it 5 useful and 1 correct.

    When the OP begins to distribute points, you can see these numbers decrease. When the OP mark as answered topic it will be up and in the forum see that the icon will change to a green star.

    It's just a way to keep the forum clean and for people to say from questions and answers / without response and what helped them get their response.

  • Transition from one question to several questions in DPS

    Trying to produce our first Apple kiosk application. When we started to deal with through DPS App Builder, we initially chose one question (the $49.95 / month). Then we went to DPS Pro and it will not change this field. (Screenshot see attached). This field is grayed out and won't allow it to be changed.

    Screen Shot 2012-12-03 at 12.22.11 PM.png

    Can someone tell us how to get it opted for several questions so that we can this kiosk to Apple instead of the iTunes App Store?

    Heidi

    When you change the type of application, you must create a new instance of the Viewer from scratch in DPS App Builder. To get the app in kiosk, you will need to create a subscription with push notifications enabled application. See the Companion Guide for more details.

Maybe you are looking for