Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Flash Quiz Variables



I'm assuming this is possible with ActionScript

I have a simple quiz using the built-in learning interactions from Flash MX 2004.

I have an HTML file that I start that plays the SWF file.

I would like to pass the Flash variable "QuizTrack.total_correct" to the HTML file.

Any thoughts about the best way to do this?

DJB



ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)
Posted on: 06-16-2005, 07:29 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

How To Create A Quiz With Free Quiz Template In Adobe Flash
This article will demonstrate how to create a simple online quiz, complete with options for feedback, scoring and tracking, using free Flash quiz template. Please ensure you can manage to use Adobe Flash MX, Flash 8, Flash CS3, or Flash CS4 (http://www.adobe.com/products/flash/) before attempting this.

The quiz template is included in Flash MX and above versions, and it is designed to automatically track results and send them to a learning management system configured for your quiz. Furthermore, it should be SCORM and AICC compliant for using in Learning Management System (LMS).

If you're not sophisticated with Adobe Flash editing, you might be interested in the Flash quiz tool Wondershare QuizCreator (http://www.sameshow.com/quiz-creator.html) for rapid development as replacement.

First of all, you can download a 30 day trial version of Adobe Flash from the Adobe's official website (http://www.adobe.com/downloads/).

1. Create a new Flash document choosing the existing Quiz template.
File >New > Templates tab > 'Quiz' Category > 'Modern Photo Quiz_style2 ' Template

2. A fully functional quiz with templates for Drag and Drop, Fill in the Blank, Hot Objects, Hot Spot, Multiple Choice, and True or False, will open.

3. Test the movie
Control > Test Movie

4. Save the Flash document, giving it a name.
File > Save

- Customize Quiz Template

For detailed instructions on how to edit the quiz template to your requirements, learn the official Flash quiz template tutorial at http://www.adobe.com/support/flash/a...quiz_tutorial/.

- Adding A Single Quiz in Flash

You can add any question types as a single quiz (e.g. true or false type) into your Flash document at any time, however these standalone quiz interactions, when used outside of the quiz template, are not designed for SCORM tracking in LMS.

1. If you want to insert a single quiz as learning interaction, you can just do like this:
Window > Common Libraries > Learning Interactions

2. A library of the various learning interactions will open up. Drag the one you want onto the stage.

- Alternative Flash Quiz Solution

As we know, not every user can use Flash programming perfectly to create quizzes. So over the market, there's some rapid quiz authoring tool like
Wondershare QuizCreator (http://www.sameshow.com/quiz-creator.html) to help make Flash quizzes in an easier way.


At last, for more knowledge about using Adobe Flash MX, Flash 8, Flash CS3, or Flash CS4, please refer to Adobe Flash Support Center:
http://www.adobe.com/support/flash/.

Help With Variables On A Quiz
Hi, i am making a quiz on flash 8 at which each time you answer right to a question, the timeline jumps to an animation, and if you get it wrong, it jumps to another animation. There are various animations of win and lose and i dont want them to repeat after showing once. You win the game by getting 5 questions right or lose by getting 5 wrong.
I was thinking of doing this with variables but i'm a not conftorble using em.
I thought i could put var win = 0; and var lose = 5;. Then each time we would lose it would subtrack 1 to the lose variable in the beggining of the animation and then we put an if lose = 4 and win = 5 goto next question.
I know its a little confusing but i'm not even sure of what i'm talking about. As you can see i need serious help. Am i on the right track, if so can you explain to me very detailed how to do it? If not, what would be the best method?

Ok here is a fla file of how my scene is setup. I want it to circulate through the wins and loses!


(from the attatchment file i provided)

From frame 1-12 its just the beggining menu.
From frame 13-21 are the questions
on those frames are movieclips with the questions inside them on the layer "questions" . Ony frame 13 has this a question.
From frame 28 to 37 are the movieclips of losing and winning.

Some help would really be apreciated.
Thank you

Variables And If Statments For Quiz
I am setting up a math tutorial for my students and I need some help. I want to set up a question and then have the students answer the question and be able to check if they are correct. If they are correct I want the movie to continue and if they are wrong then I want them to go back to the question and try again.

Here is a sample question

What is the ratio of snowmen to carrots

answer 5 to 3

Thanks


Glenn

Help With Quiz And Setting Variables
I am working on a quiz that loads random external .swfs into an invisible movie symbol and I want the user to press a button as an answer and than hit submit where if the answer matches the external swf than go to frame("correct") or if wrong go to frame ("tryagain"). I am stuck on how to make the external swf have an variable value and how to set it equal to the answer...So far this is my script:

in frame1:

code:
//declare buttons variable
var useranswer:Number;
var answer:Number;


on each button:
code:
//set variable useranswer to value of 1
on (release){
set (useranswer, 1);
}


on the invisible_mc:

code:
//checks to see if the external swf letter1.swf is loaded. if so than
//set var answer's value to 1. or if letter2.swf is loaded than set it to 2.
//if neither is loaded that go to frame "quiz"
onClipEvent(load){
if (letter1.swf){
set(answer,1);
}else if (letter2.swf){
set(answer,2);
} else {
gotoAndStop("quiz");
}
}


on submit button:
code:
//checks to see if var useranswer's value is equal to answer's value
//if it is then go to "correct" frame. if not then go to "tryagain"
on (release) {
if (useranswer == answer) {
gotoAndStop("correct");
} else {
gotoAndStop("tryagain");
}
}


I am thinking that the code on the invisible mc shouldn't be there but I am no t sure where I am suppose to place it.
I am going insane figuring this out and could use help.
Thanks
Samantha

EDIT: Added [ as ] tags for readability - jbum

[F8] Quiz Choice Variables
Hello!
Im making a quiz, that has 10 questions in.
I want flash to chose out of 50 questions 10 randomly, and for flash to check to make sure it hasnt chosen two questions that are the same, and if it has it must choose another question so all are different.
It must then assign the questions and answers to variables (question1, question1.choice1 etc).

Can anyone help?

Tracking Quiz Variables
Hi all

The code below will track how many questions were answered right and wrong and it works great, however I want to trap which question the user missed and compile a list of the questions missed. I know it lies in this section of the code but how would I tie the variable userAnswerNumber to the question and have a list of all questions missed?


ActionScript Code:
if (userAnswerNumber==this.getCorrectAnswerNumber())
            gotoAndPlay("Correct");
        else
            gotoAndPlay("Wrong");


Here is the all the code for your reference.
Thanks







ActionScript Code:
function QuizItem(question)
{
    this.question=question;
    this.answers=new Array();
    this.numOfAnswers=0;
    this.correctAnswer=0;
    this.getQuestion=function()
    {
        return this.question;
    }
    this.addAnswer=function(answer, isCorrectAnswer)
    {
        this.answers[this.numOfAnswers]=answer;
        if (isCorrectAnswer)
            this.correctAnswer=this.numOfAnswers;
        this.numOfAnswers++;
    }

    this.getAnswer=function(answerNumberToGet)
    {
        return this.answers[answerNumberToGet];
    }
   
    this.getCorrectAnswerNumber=function()
    {
        return this.correctAnswer;
    }
   
    this.checkAnswerNumber=function(userAnswerNumber)
    {
        if (userAnswerNumber==this.getCorrectAnswerNumber())
            gotoAndPlay("Correct");
        else
            gotoAndPlay("Wrong");
    }
    this.getNumOfAnswers=function()
    {
        return this.answers.length;   
    }

}

Quiz Template And Passing Variables
Here's the movie itself
http://www.trainohio.com/equiz.htm it's only 4 short/goofy questions to test this
out....
The asp page labels all of the different variable I am trying to use to get
this to work.

I want to drop variables into a MySql DB. I am using ASP to help.

I am using the template Quiz that came with MX. During the quiz the counter
is created and the results are displayed on the last frame of the movie.
I want to take the results and pass them to the ASP page to be submitted to
the DB.

The results show up in a dynamic text box labeled

QuizTrack.Total_Correct
QuizTrack.Total_Wrong
QuizTrack.Percent_Format

These varialbes are on the root of the movie. I have tried many things to
pass these dynamic variable out of Flash Player and into ASP. NOTHING WORKS.

Right now I have

loadVariables ("test-confirm.asp", _blank, GET)

I use GET so I can see what's going on in the URL but would rather use POST.

I have placed the loadVariable on the same frame as the results page. No
Luck
I have used getURL ("test-confirm.asp",_blank, GET) No Luck

What code do I need and where should I put it??

Please and Thank you for your help.
-J

Quiz With Variables In Questions And Responses
Hello,
I am a 6th grade teacher that currently uses the LOGO programming language with my students. I give my students an assignment to create an interactive quiz with: multiple choice, short answer, true /false, and identify the image type questions. I would love to do this assignment in Flash MX.
The built in template would be fine but it is missing the key component of a dialog with user-generated variables. Specifically, the student’s program solicits the user for their name at the beginning of the quiz and incorporates the name variable into the computer’s responses to correct or incorrect answers. ( “Good work Dave”, “Wrong answer Dave”).
I would also like to modify the interface to replace the check answer button with a simple display of the response for a set amount of time and then a move on to the next frame/question. I am eager for my students to think about nuances of interactivity and the illusion of a dialog between the computer and the user of their program.

Can someone direct me to a tutorial or examples that will help me understand how to set this up?
Thanks

Trapping Quiz Response Variables
Hi all

The code below will track how many questions were answered right and wrong and it works great, however I want to trap which question the user missed and compile a list of the questions missed.  I know it lies in this section of the code but how would I tie the variable userAnswerNumber to the question and have a list of all questions missed?

[as]
if (userAnswerNumber==this.getCorrectAnswerNumber())
            gotoAndPlay("Correct");
        else
            gotoAndPlay("Wrong");
[/as]


Here is the all the code for your reference.
Thanks






[as]
function QuizItem(question)
{
    this.question=question;
    this.answers=new Array();
    this.numOfAnswers=0;
    this.correctAnswer=0;
    this.getQuestion=function()
    {
        return this.question;
    }
    this.addAnswer=function(answer, isCorrectAnswer)
    {
        this.answers[this.numOfAnswers]=answer;
        if (isCorrectAnswer)
            this.correctAnswer=this.numOfAnswers;
        this.numOfAnswers++;
    }

    this.getAnswer=function(answerNumberToGet)
    {
        return this.answers[answerNumberToGet];
    }
    
    this.getCorrectAnswerNumber=function()
    {
        return this.correctAnswer;
    }
    
    this.checkAnswerNumber=function(userAnswerNumber)
    {
        if (userAnswerNumber==this.getCorrectAnswerNumber())
            gotoAndPlay("Correct");
        else
            gotoAndPlay("Wrong");
    }
    this.getNumOfAnswers=function()
    {
        return this.answers.length;    
    }

}
[/as]

Help With Multiple Choice Quiz And Displaying Variables
Hi,

I have created a simple multiple choice quiz for kids (I have followed a tutorial) in which I have created variables which store the answers to the questions. What I'm not sure how to do is at the end of the quiz display the answers back to the users. I thought it might be simply be a case of creating a dynamic text field and putting in the variable name in the var box, but this doesn't work. I've attached the fla so you can see what I've done.

Any help would be much appreciated
Thanks
Bev.

Radio Button Quiz Help - Storing Answers In Variables
Hi,

I've started to create a quiz which currently has just one question, and 4 radio button answer choices.

I written a couple of lines of code involving a listener that correctly collects the contents of the 'data' parameter for these radiobuttons (3 contain 'wrong' and 1 has 'right' for the correct answer) and I've checked this through a trace command.

However, I get stuck here and can't implement further features of the quiz. I want to be able to tally up the answers at the end, and offer feedback for any questions that were wrong.

I keep trying various techniques e.g. a boolean type variable to hold the answers, an array, but my coding skills are holding me back.

Can someone please give me an idea as to what I should be looking to do to implement such a thing. The file is attached below.

Thanks, your help is much appreciated.

Sukhraj

How To Create Variables To Hold Radiobutton Data For Use In Quiz
Hi,

I'm creating a quiz, and as yet, have just created the first question. It has 4 multiple choice answers, one of which is correct. I've used radiobuttons for these and have created an event listener to check for the selected option (below):

_global.q1answer;

var answerListener:Object = new Object();
answerListener.click = function(eventObject:Object)
{
var question1Label:String = eventObject.target.selection.data;
trace(question1Label);
}
question1.addEventListener("click", answerListener);

next_btn.onRelease = function() {
q1answer = question1Label;
nextFrame();
};

The trace returns the correct value that is held in the data parameter of each radiobutton.

However, I want to be able to manipulate this value further e.g. to check whether the answers are correct and then output feedback on incorrect answers etc at the end of the quiz. I used a global variable to hold this value and just tried to call it in, in a dynamic text field (q1_txt) in the next frame with the following code, but it keeps saying 'undefined':

q1_txt.text = _global.q1answer;

Can someone please point out what may be the problem, and whether there is a better way of doing what I'm trying to do.

I can post the file if you want, and would appreciate it if you could help me out.

Thanks

Drag And Drop Quiz - Why Do Targets Keep Appearing In Subsequent Quiz Questions?
I'm trying to create an e-learning quiz that will be a series of drag and drop questions (one per page). The user will be asked a question and will have 8 images visible, but only one of them is correct. So, there are 8 drags to one target.

When the user drags an incorrect image to the target, a text image appears that says to try again, and the image will return to its original location. When the correct question is dragged to the target, a button appears that will take them to the next question. Everything was working until I started to create question 2. I created new drag and drop instances for question 2, but it seems that the images from question 1 continue to be visible in the subsequent question(s) when testing my movie. Depending on how many choices I try to drag before I pick the correct answer in question 1, I also find that some of the button states are no longer active in question 2. What I am doing wrong?

I'm new to AS3 and actionscript in general. Part of my code is based on this tutorial: http://www.monkeyflash.com/flash/drag-and-drop-in-as3/.

I'm attaching my .fla file in hopes this will help others who are having the same problem.

Quiz Or Quiz Template Help For The Clueless?
Hi all. I just wanted to make a simple quiz in flash and then take that quiz and throw it in with some other older flash samples I made. I'm losing my mind as my "handle" for this forum implies

I tried following the help section for the flash quiz template, but I got even more confused! The help/tutorial talks about using a randomizer and I couldn't find the randomizer for the life of me!!

Is there anyone out there that can help me? Maybe you have a script for a basic quiz I can use, or you can send me somewhere online that will help me out. I looked at Atomic Learning's site, but they didn't say if they have tutorials for making a quiz. I have the paperback, "Teach yourself Flash MX in 24 hours" and when I got to page 310, Task: Make a simple draggable object, #2 I had no %$!! clue as to where I was supposed to find "the button instance and open the Actions panel" let alone the "plus button, actions, movie clip control, startDrag".



Can/Will someone please, please, please help me? If I need to be talked/through over the phone or IM, I'll pay for your tutoring services. I'm in northern cali.

Also need to know how the heck to throw the old flash movies (or files) into one big movie with the quiz. Of course, I needed it yesterday.

Thanks!

Help Quiz Template Or Other Quiz Resources?
I'm reading the macromedia tutorial on using the built in quiz template and it keeps talking about AICC and SCORM compliant learning management systems...but it doesn't say anything about using the quiz template if you are not using an LMS. Does anybody know:

1. If I can use the quiz template, generating results and all, if I am not using an LMS?
2. If not, any resources on the web that can help me build a quiz from scratch. I'm not soo good at the actionscripting, and usually rely on web resources to get me through that part of the process. Something tells me there will be a lot of AS involved in scoring a quiz.

Thanks soo much!!!!

HELP : Quiz With Flash MX
Hello !

Did someone of you realize a quiz with Flash MX, with multiple scenes ?
If yes, how did you get the results from one scene to another one ?
If no, do you know where I would find this information ?

Thank a lot for your response, it's quite urgent.

Really thank you.

Marie-Laure

Flash Quiz
Here is the flash quiz fla that accompanies the text file I posted earlier. They must be in the same folder to work.

How To Do A Quiz In Flash
I would like to have a flash based quiz consisting of 6 questions with three possible answers to each question. Ideally once the 6th question is answered the viewer will get told how much out of six were correct. Is this possible?, are there any examples on flash kit? Anyone with an actionscript example?

thanks

Quiz In Flash
I am currently putting together a flash movie to be used for training purposes. A test/ quiz element is required at the end of it all. Unfortunately I haven't a clue how to do it. I am using MX and was wondering if anyone out there would be kind enough to direct me to a tutorial or a SWF file that covers this kind of thing.

Thanks in advance!

Flash Quiz Again
The quiz now works until you get to the end, and the totals dont work. (loaded in using loadMovienum)

Is there a way to see the code inside of Macromedia components?

Flash Quiz
i am trying to creat quiz for my work but my problem is if i use 6 diff interaction they work just fine but when i try to add question 7 whiich i have tried true & flase, hotspot,fill in the blank they all show the same question



so if question one is true & flase
& question 7 is true & flase they all show same question


same story if i try to duplicate any of the other interaction


plzzzzzzzzzzzzzzzz help me




Thanks
Paul
computerfixguy@hotmail.com

Flash Quiz Help
Hi
I am creating a flash quiz using the Macromedia quiz template.
I want to create the hot object quiz.
I ended up with two problems:

1. The first question works fine. However, the quiz won't reset for the next question. In question 2, the choice answer for question one is still highlighted. To be able to work the problem I have to click on an answer and then press the reset button.

2. The results page does not display correctly the score number

Anyone who knows how to fix these problems, please let me know.
Thanks
Ecinele

Flash Quiz
I have an interesting question that has stumpped many including myself. With flash mx 2004 you get a quiz template..everything is awsome and it is very customizable execpt for the navigation.My problem lies here. I'm creating a quiz with 100 questions, and I want to make a skip button available to the user to be able to skip a question and see it at the end. So, if there are a 100 question and you skip question 5 it will become question 101, and so on. The thing is whatever code you make needs to conform with what is already provide with template.

I hope somebody can help

Flash Quiz ?
i was planning for a quiz ....some what big ...so what i want to know is can i get some comprehensive file (source) file of fla (flash .... )
may be will be nice if in flash5


most probably with very nice interface and good music support...
i am planning for real quiz with real people with sound effect and all...

so is there are where ...i can download the source file from...
i think there is ..
i found example files but no source file or fla ...
so can any body help..
may be like who like to be millionaire type...
are there any
please help
thanks

Quiz In Flash? :mrt:
Hello everyone!

I want to make a quiz in flash. Have 21 questions that are shuffled and the quiz has 7 questions with 3 alternatives and ofcourse one right answer. 5 out of 7 rights plays a movieclip and if you fail another movieclip plays.

is this possible to do?

Can somebody please tell me how to do it IF it is possible?

Thank you very much and I hope someone can help!

Flash Quiz Help
hi guys, i am very new to flash and have have been teaching myself it for the last couple of weeks by making a quiz that i will hopefully be able to use with my students!! anyway, i have created the quiz with a mix of the quiz templates and from various tutorials of the internet, and i now want to create a time limit for it, and have no idea how to go about this and could not find any helpfull tutorials on the internet!!
any help will be much appreciated, by the by, the version of flash being used is MX 2004. thanks!!
cheers, chris

Flash Quiz Help
ok so i want to make a flash quiz. its a standard multiple choice quiz. but my problem is tht i dont know ho to make it keep score on what questions are right and what are wrong and the display the numbers at the end of the quiz. does anyone have a tutorial or some help?

Flash Quiz Help [F8]
ok so i want to make a flash quiz. its a standard multiple choice quiz. but my problem is tht i dont know ho to make it keep score on what questions are right and what are wrong and the display the numbers at the end of the quiz. does anyone have a tutorial or some help?

[F8] Flash Quiz - Plz Need Some Help
Hi there,
i'm trying to develop a quiz in flash.
Searching on the net, I found a quiz in flashkit by sephiroth.it by Alessandro Crugnola.
His quiz has a script that puts the questions and the answers in random order.
What i'm looking for is to not select the answers by clicking the mouse, but using the keyPress handler.
Using the keyPress handler the script selects only the first answer.
I tried a lot but i didn't find any solution..
2 hours ago, I thought that I found a solution using if(this._name=="answer1") but it works only with the "on(release)" handler, when I replace it with the on(keyPress) the script selects again only the first answer...
Any help would be much appreciated...

this is the link where you could d/l the quiz:
http://www.flashkit.com/movies/Appli...5192/index.php

and below is the btn source.

Thank you in advance.

on(release){
if(this._name=="answer1")
{
if(!_root.Done){
point._visible = 1
_root.myChoice = thisChoice;// choice
removePoints(_name,this);// remove other points
// making the coice
trace(_root.myChoice);
if(_root.myChoice != undefined){
_root.Done = true;
_root.totalAnswer++;
if(_root.myChoice){
giusta._visible = 1
_root.correctAnswer++
}
// displaing right & wrong answers
if(!_root.myChoice){
errata._visible = 1
}
if(_root.totalAnswer == _root.toDisplay){
_root.aspetta.itsEnd = true
_root.aspetta.play();
} else {
_root.aspetta.play();
}
delete _root.myChoice;
}}
}
}

QUIZ In Flash
I am trying to create a quiz for a students. Where on a CD a flash movie opens with link to a) a long course movie and b) a test

The course movie is already created and works fine
Then I can create a exe flash file with autorun to link to this movie. The idea is the student get the CD and places in the CD the flash movie open with two links. Link one links to standard swf movie. This all works Once watched they can close the window down returning to the lauched flash movie. I can do all of this no problem. The issue comes in some way there need to 20 question that I can score and rank. The interaction of use needs to recorded to text file that I can direct them to at the end of test.

So the question would be is it possible via action scripting of a method in flash to create a text file in the users my documents folder and then write to based on buttons pressed or text imputs ? Some ideas if this is possible and chat about quizs would be great.

Hope thats enough info.

[Help] Flash Quiz
[help] Flash Quiz

Hi All,
Sorry to bother here, i'm seekin for help.
I'm tryin to make a quiz, for my class (i'm a part-time teacher), and i thought it will be fun to make it like sort of "who wants to be millionare" things. I'm not a regular flash user, so there're many things that i don't understand about flash.


This is the interface, and there i gave numbers that i will refer later.

After reading the manual and browsing around, i finally be able to create a so-called script, but then i face some difficulties and obstacles, so i like to seek any help from all you masters and gurus here.
My questions are.

1.Like the "who wants to be a millionare" quiz, this quiz is also have increasing score, like when you choose the right answer, your score will increase. How do i create "scores" (number three), what kind of script/command should i use?

2.How do i create several random sets for the questions and answers (number 1 and 2), i mean if i finally be able to create a quiz here, can i create several set of random question instead of just repeating the same?



Terribly sorry for my bad english, i'm not very used to it.

Thanks in advance

Best Regards.


~cc~

Flash Quiz
How do I get the Flash Quiz to play in the main timeline?

Flash Quiz
I am creating a quiz a multiple choice quiz in Flash. I want to give an amount of points for each choice. A would = 1 point, B = 2 points, c = 3 points, and D = 4 points. Does anyone know how to do this? I have only been able to give True or False to the radio buttons in Flash. When the person is finished with my quiz/survey, I want to show their total number of points scored. Thanks.

Quiz In Flash
How do I correct the fact that the quiz program counts the welcome page as a question?

Cheers

Flash Quiz
I need to create a quiz in Flash. The multiple choice interaction is great but I need to have two buttons that when selected drop down the mulitple choice questions. So far when I break up the questions the quiz does not work.
Can anyone give me some advice?

Flash Quiz
Does somebody knows how to activate the navigation button in a blank frame.
I would like to add text in between the learning interactions.
Is it possible?
Carlos

Flash Quiz
I've use the quiz template to create my quiz and cannot figure out where and how to change the label color. There is lots of learning materials on the web, but being that I am a novice, I just can't figure out, make much sense of much of the content. Can anybody help me with this issue.

Flash Quiz
Hello:
I am making a Flash Quiz using the (Key.isDown(key.ENTER)). However, every time I press the ENTER key on my keyboard, the scores get added (definitely because of the "onEnterFrame" function)

Kindly advise which function I should use instead of the "onEnterFrame"
to make my codes and score work properly. The idea is that after typing the correct answer "lascaux"
the user obtains 25 points, else nothing.

Thank you.
U







Attach Code

stop();
this.onEnterFrame = function() {
if (Key.isDown(key.ENTER)) {
if (answer == "Lascaux" || answer == "lascaux") {
myScore += 25;
} else {
myScore = 0;
}
}
};

Help With Flash Quiz
Using Flash 8 quiz template generate a Quiz,
Then I build a new flash document and insert an empty MC, copy all the frames from the file generate by quiz template, and drag this new MC to the timeline.
But it can't work properly.
My purpose is to insert a quiz in another flash file. What can I do?

Flash Quiz
Hi
I am currently working on a multiple choice quiz. the test is composed of 40 questions and 4 answers. the questions are randomly imported from a mysql database by making use of PHP. I should have 5 levels in this test. this means that at the beginning the user is given questions from level 1 is will not move to level2 unless he answers 10 questions correctly and so on ans so for until level5 or until the 40 questions are asked.
please help me with any script concerning this issue.

Thanks

Flash Quiz
Hi
I am currently working on a multiple choice quiz. the test is composed of 40 questions and 4 answers. the questions are randomly imported from a mysql database by making use of PHP. I should have 5 levels in this test. this means that at the beginning the user is given questions from level 1 is will not move to level2 unless he answers 10 questions correctly and so on ans so for until level5 or until the 40 questions are asked.
please help me with any script concerning this issue.

Thanks

Flash Quiz Help
Im having trouble finding any flash quizzes online or at least tutorials that teach you how to make them. Im especially interested in the latter but any help would be appreciated.

Thanks much guys.
Worm

LOoking For Flash Quiz TUT With XML
I have seen and worked with the tute that Macromedia provided here:
http://www.macromedia.com/support/fl...quiz_tutorial/

But is there a tutorial out there for FLASH QUIZ using xml to populate the template?

Thanks in advance.

Quiz Xml & Flash
Hi uys,
I would like a little help with this.
I would like to programm a quiz with flash and XML, and some questions will be with an image. I mean that, the question will a text and a picture and the answers will be a text, and the use will make a clic on the answers (buttons).

I come kind a bloked.

Tks.

Flash Quiz
I found this niftt program to allow me to do a quiz with my students, and I want to make a small change but I don't understand XML. I can change the questions.. no problem there... but I would like to add a field in the XML called <explain> that has an explanation of the answer to replace the text on the right side when you get it wrong. So instead of discplaying the text of the correct answer I would display the text in the explain field.

So the XML would look something like this
</Question>
<Question answer="A" Value="3. Today the greatest risk factor for developing Bladder cancer is: ">
<Explain> The Correct answer is A. Cigarrette Smoking. This is found on page 33 of your text book.</Explain>
<Answers value="Cigarette smoking"/>
<Answers value="Drinking coffee"/>
<Answers value="Using sweetener"/>
</Question>

and instead of just listing the option on the right side it would display the contents of <Explain>

Can anyone help? I know it must be simple but I don't have a clue.

See the attached file for the program
Ken

Flash Xml Quiz
Ok, I have an xml doc that has 6 categories that are colors and 4 questions that fall under each category. My question is I'm trying to create a quiz that will grab a question/answers based on a variable between 1-6 from the (6) categories in the xml doc. But the kicker is I want the user to have to choose from a different category if the 1-6 variables are different. And I need to walk down and grab a different question if they have been to blue before or maybe just a random question from the blue or green section.

If anyone could shed some light on my dark situation I would be grateful.



The xml doc example of one section the doc has 6 nodes with 4 questions each.

<trivia>
<color_blue>
<quiz answer="The earth">where are you at?
<choice name="The earth">yes, you are right</choice>
<choice name="mars">no, that is wrong</choice>
<choice name="venus" >hahahahahhah</choice>
</quiz>
</trivia>

Quiz...New To Flash/AS
Hi all

I have a Red rectangle (made from rectangle tool), with a textbox underneath (component). What I want to do is when the quiz taker enters the correct word, the rectangle will turn green. I need this function without the need to press a button to give the answers.
So lets say the correct answer that the user will give is 'England'. If that user enters 'England' into th text box, the rectangle should turn green.

Im a total beginner with Flash/Actionscript (I started yesterday hehe), but Im gathering a bit of knowledge from the net. I have absolutley no idea what the code to do the above would look like. Any help would be much much appreciated!

Thanks in advance

Stu

Flash Quiz
Hi

I m working on a flash quiz based on a tutorial (http://www.actionscript.org/resource...zes/Page1.html)
But instead i m using only "hotpspot" component mentioned in the above tutorial. You can download the fla file from shaytac.net/down/quiztest.fla
At the end of the quiz somehow scoring doesnt work. It counts the first answer right but when it comes to second one it marks it wrong for some reason. I would appreciate any feedback you can give on this.

cheers!!!

[help] Flash Quiz
Hi All,
Sorry to bother here, i'm seekin for help.
I'm tryin to make a quiz, for my class (i'm a part-time teacher), and i thought it will be fun to make it like sort of "who wants to be millionare" things. I'm not a regular flash user, so there're many things that i don't understand about flash.


This is the interface, and there i gave numbers that i will refer later.

After reading the manual and browsing around, i finally be able to create a so-called script, but then i face some difficulties and obstacles, so i like to seek any help from all you masters and gurus here.
My questions are.

1.Like the "who wants to be a millionare" quiz, this quiz is also have increasing score, like when you choose the right answer, your score will increase. How do i create "scores" (number three), what kind of script/command should i use?

2.How do i create several random sets for the questions and answers (number 1 and 2), i mean if i finally be able to create a quiz here, can i create several set of random question instead of just repeating the same?



Terribly sorry for my bad english, i'm not very used to it.

Thanks in advance

Best Regards.


~cc~

Copyright © 2005-08 www.BigResource.com, All rights reserved