ActionScript 2.0 :: Storing Results Of Student Quiz?
Jun 27, 2009
I have developed a number of Maths Question generators using random numbers. Students are able to input answers and see that they are correct. I would like to progress to the stage of storing student results on my website server (Actionscript 2.0 - with CS4)I am not sure where to start with this and I was hoping for suggestions on the direction I should take to be able to do this.
View 1 Replies
Similar Posts:
Mar 10, 2007
i made a quiz in flash using actionscript:
At the end I have to sum the answers and show the result to the user but I can't get it.
Here is the code (I'm kind of new to actionscript, sorry if the code it's too long):
Code:
var p1=0;
var p2=0;
var p3=0;
[Code].....
View 5 Replies
Nov 28, 2007
I've got a pretty complex XML file that I'm trying to process and I want to store all the results in one custom object. However, I'm having trouble getting past the first step. I want the object to have this basic format:
[Code]...
View 2 Replies
Mar 15, 2012
Using Flash CS3, having issues getting flash to send quiz results to a LMS. Using the Flash quiz templates, exporting with SCORM 1.2 compliance. The LMS is able to track times attempted and if the lesson was complete or not, however the quiz results don't reach the LMS.
I think this can be resolved in the actionscript or the javascript that gets exported with the HTML file Apparently you can control the javascript functions with FScommands from actionscript Something like fscommand ("LMSSetValue","cmi.core.score.raw" + "," + integer); I don't know where in the actionscript this should be triggered from.
View 1 Replies
Mar 22, 2010
i am wanting to creat a small quiz that runs from xml which pulls questions from a database, then submits the results to the mysql database upon completion.
View 4 Replies
Nov 16, 2006
I am creating an interactive cd which basically runs a blank projector which then loads in various swf files from fscommand folder as and when required.
Part of the CD is a quiz - created using one of the standard flash templates. When this is loaded into the main projector as a swf file it runs perfectly until it gets to the "results page" - at this point it returns the blank templates e.g Answered = 0.
If you play the swf file on it's own it works fine. If you play the file as a projector on it's own it works fine too.
The problem only occurs when it is loaded into the main projector on a level above the root.
View 3 Replies
Aug 8, 2010
I had an existing client ask me about the possibility of building an online quiz. I am fairly adept at working "inside" Flash, but always run into problems when trying to export data "from" Flash anywhere else. I am also trying to figure out if Flash is the best application to build this quiz (I see other possible apps like Captivate, but don't know if they are necessary for what I am trying to do).
What I need to do:
I need to create a Login screen to attach the final text score to an individual.
Create (50) separate screens for 50 questions with multiple answers for each (simple enough) with submit buttons once the answer(s) are chosen.
Each time an answer is submitted it has a certain "weight" toward the total score (which I am guessing that I could track into a variable inside Flash?) When the test is complete all I need to do is send that Person's Name/Total Score to a database. Is this something best accomplished using Flash?
View 3 Replies
Dec 15, 2006
i am building the results screen of a quiz and for some reason, my traces to these arrays are showing as undefined. Here is the code on the Results frame....
[Code]...
View 1 Replies
Mar 19, 2009
I have a little quiz, where at the end the results are calculated and the test takers are taken to a results screen which calculates their results.
I have AS3 code creating the message screen, and the score is calculating ok. I want to capture the users name on the results page, and this is not working. I have attached the code which calculates the score and where I added the instance name of the test box when they login. I get an error when I publish. The error is "Access of undefined property name name_text"
obviously this is not how to capture that information, but not sure how to do it. Again, I have a text box with the instance name of "name_txt", and I am trying to capture that data on a results screen using AS3.
Code:
feedback.text = "Congrats" +name_txt+ "on finishing the exam!
Your score is "+Math.round(score*100)+"%
You may now close the exam window.";
View 1 Replies
Apr 7, 2011
I am working on an eLearning lesson that needs to score quiz results using a statistical formula called a probit function. There are formulas in many languages (VB, C++, etc.) for the probit function, but not in AS3. The closest I can find is in JavaScript.
[Code]...
View 8 Replies
Jul 21, 2010
Anyone know where to start thinking about logic for an XML quiz with multiple correct answers, that when the user gets the question right, that question is removed from the random array of questions so we never need to answer it again?
View 0 Replies
May 27, 2010
I am a student of computer science and am interested in learning development of RIAs. So which among silverlight and flex is more suitable for me and y?
View 4 Replies
May 22, 2010
Can i install it on my old laptop and on the new one too?or do i have to uninstall it first?
View 1 Replies
Jan 8, 2010
i am having a problem with the combobox component.i have a mysql database with a student and a class table.i want to make a registration form for the student. i have the combobox here where he picks his class (populated from the class table). The class_id is a foreign key to the student table and it's invisible in the combobox. i want when the students registers from his selection on the combobox to write in the database the corresponding class_id.
View 1 Replies
Jan 10, 2010
I have to do a quiz, which will be a random 5 questions from among the 20 I have no idea how to go about doing this, please help.
View 2 Replies
Mar 10, 2010
I am writing a module and I have a section in this flash file where a quiz comes up and if you don't click on the right answer it tells you to try again. If you click on the right answer it will load the next swf file. But I can't get this last part to work. The quiz is within an xml file.
var current:Number = 0;
var qbox:Sprite = new Sprite;
var quiz:XML;[code]....
So where it says "if(correct) {" on the bottom, I want the file this file to go to the next swf file not say "Correct!".
View 1 Replies
Mar 21, 2009
How I can make a simple personality quiz in Flash? I've been searching for months for quiz/test codes, tutorials, examples, etc...but I can't find one that would work for a quiz with no "right" or "wrong" answer.
Basically what I want to do is have the user click on statements that they agree with, or answer questions that would lead to one of two possible results.
View 1 Replies
Jan 9, 2009
i have 4 txt boxes which load 4 prices from a txt file that works ok. if the user then changes the price in the box and hits a button:-
on (release) {
time = new Date();
url = "./store.php?time="+time.getTime()+"&post="+escape(po
[Code].....
View 4 Replies
Jul 27, 2009
I have a simple quiz (Q and A) to design that contains both input fields as well as dynamic fields which gets a value (text or number) from an onClick action. When i submit the form, using the code from this thread (http://board.flashkit.com/board/show...hreadid=766156), i managed to get the input fields content to get saved on to the CSV file, however the dynamic content doesn't. it only works when i literally type the value in the text field.
View 8 Replies
Mar 3, 2010
I have made a start on my quiz, in order to complete the criterions I have to create a project (a quiz in my case) which uses a variety of methods and tools e.g. drag and drop features, user text input and numeric input etc.I had planned on creating 4 topics and 4 questions in each. Having searched the forum it appears that the common consensus for creating a quiz is to set up your questions in a XML file however I have no idea how to use this or what it is. Moreover from my research I found I appear to be doing things slightly different to other people who are doing or did a quiz. This difference is how the answers are input; I will be user input text fields along, multiply choice buttons etc. I also am placing my questions in different places for different sections and I am also required to use video.This may still be able to be done however I only have 29 days to complete the task and the way I'm planning will be quicker as I understand how it works at least. The first problem I am having is how to code for the input text. I plan on allowing for the user to input a word and then to compare that word against the correct answer. This also brings me onto my second problem. Once a section of questions has been completed I plan on taking the user to a screen which displays how many answers they got correct. This would involve tracking their answers and comparing them to a set of correct answers however I have no idea how to do this. (from what i have learnt recently the use of an array maybe?).
The final problem I am having at the moment is setting up a 'barrier of sorts' In my first question i have set up a mask which applies only to the image I have also placed on the stage. The mask is applied to a circle which can be dragged around displaying small sections of the picture at a time. I wish to stop the circle leaving the picture as it falls under the background once it as left the area of the image. This results it in disappearing. I have no idea how to solve this and I could not find information on it. The solution I think would be to stop the masked circle leaving the area of the picture OR to reset it back to original position if it is released outside the images area.My quiz is far from complete at the moment and I have not yet even finished the frames for each of the questions however these problems are fundamental to the quiz's success and so I felt I needed to confront them now.I can upload what I have done so far and send the link in a pm so you can see what I mean (if it is not already clear)
View 14 Replies
Jul 24, 2010
I'm trying to make a quiz with multiple question types (multiple choice, true/false, fill in the blank, drag/drop). The problem I am having is that the questions are not scoring correctly. Here's what happens
[Code]...
View 5 Replies
Nov 23, 2010
I have a working quiz but I want to know how to get the score of the number of correct answers the person got but I can't seem to figure out the code for it. This is my code below.
stop();// movie clip waits on buttonsgloss_mc._visible = false;// set the gloss initially to not visiblescore_int = 0;// score on the quiz is initially zero// button functionsq1_btn.onRelease = function() { scoreQuiz_fnc("1");};q2_btn.onRelease = function() { scoreQuiz_fnc("2");};q3_btn.onRelease = function() { scoreQuiz_fnc("3");};q4_btn.onRelease = function() {
[code]....
View 5 Replies
Nov 26, 2010
I'm trying to build a basic quiz - there are 6 questions and I want it to display a score at the end. Everything works and it shows a value at the end (but always '0'). It's not keeping proper scoring as users go along, it should be adding '1' point for each score, no matter what option is clicked it just traces '0' in the output window. Maybe something to do with the variable or? Kinda new to Flash, the chunk of code I believe to be the issue is below,
import flash.events.MouseEvent;
//varialbe for keeping score
var score:Number = 0;
//event listeners for button clicks, which will adjust the scoring array
[code].....
View 1 Replies
Apr 5, 2010
I am having trouble loading a quiz.swf into another another movie. To generate my quiz I goto
File > New > Templates > Quiz > Quiz_style_1
And in the first frame of the example quiz I add:
stop(); // To prevent playback
this._lockroot = true; // to preserve the heirarchy
Then I publish the quiz as testquizex.swf, and I can test this movie and it works fine by itself. Then in a different movie I start with a blank scene I add a keyframe and I insert
stop();
var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
mc.loadMovie("testquizex.swf");
Now the movie imports and loads into the frame and I can navigate through to the first question page, but the quiz doesn't actually work anymore i.e. drop targets dont work and the score won't increase. Is there anything else I have to do to the stock quiz template to make it importable into another project?
View 1 Replies
Aug 17, 2011
I'd like it to display a question on one page, then have a next button which takes the user to another page telling them if that question was correct or not, and if it is correct they can move on to the next question (by clicking another next button) and if they got it wrong, have to go back and answer it again. However I have no clue how to do this! which includes a quiz. Would it be a better idea to create the quiz in Flash or something and then embed it into my Java application? Or just do the whole thing in Java?
View 2 Replies
Nov 18, 2009
I'm trying to create a simple quiz that picks questions from an XML file, then checks the answer the user enters against the answers stored in the same XML file. Every time you press blue_btn it should bring up a new question. Right now I'm stuck -- it shows only the last question in the XML file, when I enter the right answer it tells me it's wrong, and when I press blue_btn again nothing happens.
[Code]....
View 4 Replies
Jun 4, 2010
I am using a qui developed as an opensource flash and running a php script to convert this to xml to drage data from database, this works absolutely fine, but I want to load an image into an empty movie clip and not sure where i am going wrong[code]...
View 0 Replies
Dec 6, 2010
I've looked online at different quiz-building tutorials, but almost all of them are for stand-alone quizzes. I am adding the quiz as part of a whole interface design. When you click on one of the sign buttons I have on it, a mask will appear and the first four quiz questions will appear. Once those are answered, the next four will appear (probably when they click "next" or something). When I get to the end, I want the results of their quiz to appear.I want to try to use the code my teacher wrote for me so I don't have to build anything extra.if that doesn't work, can I embed a .swf into the file I'm working on? I need this quiz; everything else in my project is done (aside from some tweaking) and I need this finished AND working by Dec. 17.[code]
View 2 Replies
Dec 12, 2003
I have developed a simple quiz game, but im having a slight problem with it.I have a variable set to myScore=0
Everytime you get a right answer it should increment 2points But when you get all 3 answers correct i get a final score of 4points
View 2 Replies
Aug 23, 2005
I have designed a flash-based quiz for a training program. they've requested to have a timer that runs throughout the movie to add pressure and action to the game and also to display their time at the end.
View 2 Replies