Create a simple quiz in flash...

Posted on 2005-04-06
Last Modified: 2009-07-29
Hello Flash Experts!

I'd like to create a simple multiple choice using flash...I'm kinda new to flash though and I don't know how to do it. Can somebody help me out?


Question by:neomage23
    LVL 39

    Accepted Solution

    you need to specify what exactly you want to do, there are many options.

    ie. a button after each question that marks the question, options to include showing score, correct answer/feedback, or alternatively only scoring right at the end.

    do you want to show one question at a time, or have all questions on the screen?

    you need to consider this, and usually a good idea to use xml, but if you're looking for a simple basic,

    1. set up the questions
    2. use radio buttons for the answers
    3. store the correct answers in an array
    4. use a variable to determine current question (based on using next buttons or whatever)
    5. on your button to check the answers, loop through the array and question number to determine if correct.
    6. do whatever action you want based on the users answer.

    if you decide exactly what you want to do, we can point you in a more specific direction

    LVL 13

    Assisted Solution

    LVL 9

    Assisted Solution

    You'll find a XML driven Multiple choice at (scroll to the bottom find the:  XML >  multiple choice quiz, xml version)
    Source .fla :

    Jakob E

    LVL 6

    Author Comment

    Thanks everyone!

    I got what I needed.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
    This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
    The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
    This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now