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




Flash Quiz Result Help



Hi! I'm new to Flash and I'm wondering if someone can help me with the personality test I'm doing for my personal site.I made a quiz using the quiz template available in Flash 9. I have 15 questions which is divided to 3 questions per category...the 5 categories are: Food, Fashion, Travel, Art and Music. I already finished the questions part, my problem is how to customize the result where I can calculate the score for each category by using a bar graph.ex: the result is 1 Food 2 Travel 2 Music 1 Art 3 Fashion the graph wil be: 1 yellow bar, 2 purple bars, 2 green bars, 1 red bar, 3 blue bars.If the user have no correct answer on a category no bars will appear.I don't know what to do huhuhu...I tried searching for tutorials but no success :(Need you expert help badly :(-Andrea



Adobe > ActionScript 1 and 2
Posted on: 06/10/2008 10:11:02 PM


View Complete Forum Thread with Replies

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

Can I Save The Result Of My Quiz In A Xml Ortext?
i made a multiple choice quiz on flash.
after people are finished with my quiz,
i want save the result.

can i save the result of my flash quiz in a xml?

Saving The Quiz Result Into .txt Files
I am doing a quiz right now... and i want the result or score of the quiz to be encoded to .txt files... Can someone help me with this problem??

I just want to know what to do, what code should i use??

Flsh Quiz Templates Result Problem
I am developing a set of tutorials using Flash Quiz templates. When I test the movie, the last frame which is the "results frame" shows the number of the right and wrong answers correctly but does not calculate the percentage of the total result which is supposed to be the product of the correct answers divided by the total of number of the quizzes. For example: 6 correct answers to a total of 10 quizzes should display 60%. However, the dynamic textbox that is supposed to display the result is on the slide.

Any help will be greatly appreciated

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/.

Flash With PHP Result
Hello,

i'm a new flash user, and i come from the PHP development.

So i have a text area that i want make it dynamic.

I explain, i have a text area with the "tips of the day", but this tips comes from mysql database.

So i just wanna know how the PHP script can take the value from the mysql database and send it to the FLash animation.

Plz give me some clear exemples or explain me directly on this topic.

Thanks a lot

Nerzhul

Getting An Result From Cfc And Flash Remoting
I don't know how many here program in a coldfusion environment but I am pretty sick of creating an array of structs just so I can get a proper associative array in flash. Is there a new data object in AS3 that will automatically build this assosiative array for me? Sort of like a recordset? I've looked but I haven't found anything yet. I'm just trying to save myself and the server some time.

I also realize that I could just pass the query results to flash and then just build out my object by dynamically matching serverInfo.initialData to serverInfo.columnNames but I was hoping there was a dataType built into AS3 that did this. When I was programming in a .NET environment I didn't have a problem with this.

Flash -> ASP Search Result === IMPORTANT
I have a flash movie in which I need to pass a keyword variable to an ASP page that hold all of the result-writing code.

I can't seem to pass any user text from the flash movie to the ASP result page. I've created a static version of this (ref: http://www.terra-plex.com/sin/draft/...ledgebase.html) and would like to duplicate this functionality from the "Knowledge Base" section at http://www.terra-plex.com/sin/draft/

Any help in this matter would be greatly appreciated!!

Flash Remoting Output Result With .NET
Hi

I wonder if someone can help me. I have written a Flash MX application which makes a call to a .NET application. The .NET application accesses a database using a stored procedure. I pass two values to the stored procedure which is fine but the stored procedure outputs two values. I now need to use these values within my Flash MX application but I am unsure how to actually send the results back into the Flash movie. Can someone give me a clue on exactly what I have to do. I understand that I could use the following in actionscript:

function CommitBooking_result(result)
{
// but what do I do here.
}

Would I have to place my output values into a dataset and then return
that as a recordset back to flash? I am using VB.NET.

I look forward to someones help!

Many thanks

Steven

Same Text Formatting, Different Result: -- Flash Bug Or My Bug?
This time, I will make a long story short. (I posted the same issue last week, but did not get any advice. Maybe because I did not explain the problem properly. Trying again. Please keep reading)

I have coded a text animation which consists in "one" character choosen randomly in the alphabet which loops throught the alphabet until it reaches the character it should display. As the animation loops, the fontSize is adjusted so it starts at 24 and end at 48.


The problem is that at the end of each loop of the animation, even thought the fontSize is ALWAYS set to to the SAME fontsize, the size of the caracter is inconsistant.

When the animation is done I log the height and the width of my movie clip using the getBounds methods, and the results are unpredictable:

In the following exemple, the letter to display at end is "E"

ex: log of first loop:
---------------------
curLetter = P newSize 24
curLetter = O newSize 26
curLetter = N newSize 28
curLetter = M newSize 31
curLetter = L newSize 33
curLetter = K newSize 35
curLetter = J newSize 37
curLetter = I newSize 39
curLetter = H newSize 41
curLetter = G newSize 44
curLetter = F newSize 46
curLetter = E DONE -- textsize=48
curLetter = E fontSize 48 height 58.9 width 31.7


log of second loop:
-------------------
curLetter = K newSize 24
curLetter = J newSize 28
curLetter = I newSize 32
curLetter = H newSize 36
curLetter = G newSize 40
curLetter = F newSize 44
curLetter = E DONE -- textsize=48
curLetter = E fontSize 48 height 56.55 width 30.5


And this is the bit of code i use on mc_enterframe to reformat the textField (just what is relevant to the problem)
this.letter: the ultimate character
this.tf: textFormat object
this.myletter : textField object

"percentdone" is calculated according to the number of character the mc must go through before reaching this.letter
---------------------------------------------------------------

// put the next char in the text field
this.myLetter.text=String.fromCharCode(this.curLet ter);

// if I am not on the letter I have to show
if (this.curLetter != this.letter) {
// figure out the current fontsize according to the total length of the animation
newSize = this.sizeMin + ((this.sizeMax - this.sizeMin) * percentDone);
newSize=Math.round(newSize);
trace ( this + "curLetter = " + this.myLetter.text + " newSize " + newSize);

// set the size property of the textFormat object
this.tf.size=newSize;
// apply it to the textField
this.myletter.setNewTextFormat(this.tf);
this.myLetter._alpha = 100;

}else
// I am on the ultimate letter and I am making sure it is formated the way I want it
{
this.done=1;
this.tf.size=this.sizeMax;
this.myletter.setNewTextFormat(this.tf);
this.myLetter._alpha = 100;
this.tellDone = 1;
}


The bigger problem is that if I animate more than one character, the end result looks like crap, because the characters are not even.

Hopefully, it makes sence this time. Please don't give up on me, if it does not, I am willing to explain again, more, better.

geraldine

attach is the swf so you can see what I mean. You might have to wait few loops but you'll see the problem. I put few character in the animation because it is easier to see the size differences.

not that short really

Keyword_search N Show Result In Flash. HOW?
i want to mk a keyword search form,and after i keyin some text n click on submit button,it will show the result,all progress are in flash.my flash is link to php.


here is my button AS:
on (press) {
keyword =this._parent.keyword.text
getURL("http://localhost/www/keyword.php?submit=Search&", "_blank", "GET");
}
but this way will link to php page to show the search result... i had no idea how could i present this in flash?
i mean all transaction is in flash..
WHo can help me??
beg beg beg....!! PLSEASE! T_T

2.another question....

AS CODE:
myData = new LoadVars();
myData.onLoad = function(){
placeTheDataIntoTheRightPlace();//call the function
};
myData.load("http://localhost/www/category.php");
placeTheDataIntoTheRightPlace = function(){
box.html = true;
var i=1;
while (i<10){
box.htmlText +="<a href="http://www."+i+".com">"+myData["data"+i]+"</a>";
i++;

}
}

the loop will produce few results.
n those are location name.when user click on it data,
it will link to a map,n point out the location.
like this:

anyone help me??
i hv no body to teach me....
ur help are very important for me..thx!

Run Flash Application And Get Result As Image (.jpg Etc)
Hi All,
I need an urgent help, i am creating an application where i am customizing (coloring, adding text etc) to bitmap through flash and i want the result as a image in jpg or any type of image file..

Thanks in advance....

Getting The Result Of A Javascript Function Into Flash?
This is driving me nuts.

So, I have a site that has a button on it and someone did a little javascript so that each time you click the button you go to a randomly selected URL from an array of links.

Now, I was told to give my flash button the same functionality. I'm not really a coder, so instead of re-inventing the wheel, I'm trying to get the result of the javascript into my action script. So far, I'm completely unlucky.

Here's the javascript:


Code:

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
var uc = 4;
var u = new Array(uc);
u[0] = "http://blahblahblah.html";
u[1] = "http://blahblahblah.html";
u[2] = "http://blahblahblah.html";
u[3] = "http://blahblahblah.html";
function pickRandom(range) {
if (Math.random)
return Math.round(Math.random() * (range-1));
else {
var now = new Date();
return (now.getTime() / 1000) % range;
}
}
function pickRandomURL() {
var choice = pickRandom(uc);
return u[choice];
}
</SCRIPT>
And here's the link that calls it:


Code:
onClick="this.href=pickRandomURL()"

I've tried the basic GetURL("javascript:pickRandomURL();"), but I guess the javascript isn't reaching the flash. I tried a loadVar, but I'm probably not doing it right...Ditto for PassFlash().

Can anyone help me with this please?

Thanks,

Rick

Flash To PHP - Can't Output The Checkbox Result
Hi,
I've created a Flash contact form and I wanted to add a Checkbox
(I work with Flash CS3, Actionscript 2.0)

Textfields work just fine, but I can't output the checkbox state.

Thanks!

Here's the code:

FLASH
-------
on (release) {

if (name eq "" or subject eq "" or message eq "" or email eq "" or kosvet eq "" or musa eq "") {
stop();
} else {
loadVariablesNum("php/form.php", 0, "POST");
}
{
name = "";
subject="";
message="";
email="";
kosvet="";
musa="";

if(cbox.getValue() == true){
var puma="yes";

}

-------------------
PHP
-------------------
<?php

$to = "edon.muhaxheri@gmail.com";

$namp = NAME;
$messagp = MESSAGE;
$kosvep = KOSVET;
$musp = MUSA;
$puma = false;
$stringall = $namp."
".$name."

".$messagp."
".$message."

".$kosvep."
".$kosvet."n
".$musp."
".$musa." n
".$puma;

mail($to, $subject, $stringall, "From: KOSVET.contact.form
Reply-To: $email
");
?>

Image Resize - The Result In Flash And PS
If you have an image with a text on it, let's say 200x200 pixels and you try to make it 400x400 in photoshop or other graphic program the result of course will be a little blury image.

If you put the same image in flash and try to make it 400x400 by resizing it or resizing the MC that contains it - there is significant anti-aliasing on the edges

Is there is a way to apply the resize with less anti-aliasing and more blury effect?

p.s. sorry, I realized it can be done with actionscript blur filter

Flash Variable -> ASP Search Result == IMPORTANT
I have a flash movie in which I need to pass a keyword variable to an ASP page that hold all of the result-writing code.

I can't seem to pass any user text from the flash movie to the ASP result page. I've created a static version of this (ref: http://www.terra-plex.com/sin/draft/...ledgebase.html) and would like to duplicate this functionality from the "Knowledge Base" section at http://www.terra-plex.com/sin/draft/

Any help in this matter would be greatly appreciated!!

Is It Possible To Export Final Flash Result To An Image?
for instance if a user makes a picture with flash is it possible to sum how attach that to an email, with thier info on it?

Thanks,
Carlos

Question With Flash Remoting And The Result Object
Hello,

Every where I have looked for flash remoting tutorials and tips is using amfphp and not CFCs. I have everything set up correctly, I just cannot figure out how to get anything out of the result object.

I found an article that was saying I could get the number of columns by doing:
rs.serverInfo.columnCount;

However it produces this error:

TypeError: Error #1010: A term is undefined and has no properties.
at CustomClasses.roster::roster/:nResult()

I tried to access a couple other properties I found in some articles and I get the same error, can anyone tell me why this is happening?

Capturing Flash Movie (Result) In JPEG Using AS
Greetings Guys,

I was wondering if there's a possibility on capturing a flash movie and generate it in JPEG?

Here's the idea, I came across in Kirupa's tutorial on 'Coloring Book'.
So I was thinking that if the user already fill in the colors, how possible
it is to send the result of that 'filled little boy' in the 'Coloring book' tutorial
in jpeg or it somehow generate from it's result?

Sample URL of the coloring book:
http://www.kirupa.com/developer/mx2004/coloringbook.htm

I truely appreciate if anyone of you expert can help me out. Much thanks.

p/s: btw, not talking about snag it / print-screen application. Mostly the idea is to create an e-greetings card with the 'fill in the color' mode. Again, thanks

Cheers,
/moe.

Flash/PHP SendAndLoad Result Complete Gibberish
How-do! I've searched the forums, but haven't found the answer to my current headache, Please help!

I want to use a php file to return the contents of a specified directory, then (in flash) create an array of filenames that can be used to build a gallery.

The php file works fine when I test it in my browser, and the AS says its being read OK, but its contents are absolute nonsense! This is what I have so far...


Quote:





Code:
toPHP = new LoadVars();
fromPHP = new LoadVars();

fromPHP.onLoad = function(success) {
trace(this);
//trace(images = fromPHP.split(","));
}
toPHP.gallery="./gallery/3D/";
toPHP.sendAndLoad("_getDir.php",fromPHP,"POST");





and the php...


Quote:





PHP Code:



<?php    $dir_name = $_POST['gallery'];    //$dir_name = './assets/personal/';    $dir = opendir($dir_name);    $file_list = "fileList=";    while ($file_name = readdir($dir))    {        if (($file_name != ".") && ($file_name != ".."))        {                $file_list .= $dir_name+$file_name+",";        }    }    closedir($dir);    echo $file_list;?>









Please help! I thought the hard bit would be reading the directory contents with php, not getting the info back into Flash!! <sigh> I was wrong.

Question With Flash Remoting & The Result Object
Hello,

Every where I have looked for flash remoting tutorials and tips is using amfphp and not CFCs. I have everything set up correctly, I just cannot figure out how to get anything out of the result object.

I found an article that was saying I could get the number of columns by doing:
rs.serverInfo.columnCount;

However it produces this error:

TypeError: Error #1010: A term is undefined and has no properties.
at CustomClasses.roster::roster/::onResult()

I tried to access a couple other properties I found in some articles and I get the same error, can anyone tell me why this is happening?

How To Execute Php Inside Flash And Display The Result
Hi all. could any one tell me how i can execute a .php script inside a flash 8 and display its result. Now if i call my .php script it displays an image. So i want to do the same inside flash by calling this .php and display output image.Looking forward for step by step instruction since i am new to flash.Thanks

[F8+ppc] Javascript+flash Gen Different Result Btw Local + Hosted File
Dear all,

I got different result from the same files localed locally on my computer and hosted on a web server. Please help.

Here is the html file, a.htm:

Code:
<HTML>
<HEAD>
<TITLE>Movie</TITLE>
</HEAD>
<BODY bgcolor='#FFFFFF' LEFTMARGIN='0' TOPMARGIN='0' >
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="320" HEIGHT="240" id="movie1" ALIGN="left">
<PARAM NAME=movie VALUE="Movie.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=play VALUE=True>
<PARAM NAME=loop VALUE=True>
<PARAM NAME=devicefont VALUE=False>
<PARAM NAME=menu VALUE=False>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
</OBJECT>
<script language="javascript">
movie1.TSetProperty('/', 2, 100*320/240);
movie1.TSetProperty('/', 3, 100*320/240);
movie1.TSetProperty('/', 10, 90);
movie1.TSetProperty('/', 0, 333);
</script>
</BODY>
</HTML>

when i drag this file, a.htm locally onto a browser, the browser will first:

1. block the Flash movie,
2. after enable the Flash movie, it will display the Flash content, but without execute the javascript between the <script> tag to transform the Flash content to 90 degree.

The same set of file works when I upload it onto a web server and browser it with the HTTP protocol or if I edit it locally with MS Frontpage.

can you help? Thanks.

Elton

HitTest Error In AS 3, Flash 9: Huge GetRect Result
I'm trying to detect an intersection between a "hero" and a "target". I understand about HitTest using the bounding box to determine that, and I understand how rotating a movie clip can make the bounding area much larger than the visual area, depending on the angle of rotation. Nonetheless, I don't know what's going on here.

I have the follow debug code:


Code:
if (debug){
addChild(createRectShape(targetArray[i].getRect(this), 0xFFFFFF));
addChild(createRectShape(hero.getRect(this), 0xFFFFFF));
}


This draws a white rectangle outline around both the hero and the target when hitTest detects a collision. It appears to be working correctly, as the two rectangles always just barely overlap.

What's strange is that when the hero and target do not rotate, the getRect rectangle "hugs" the bounds of the objects well. But when the objects are rotating, the getRect rectangle is WAY larger than it has to be to enclose the objects. For an object that appears about 2" across on screen, the rect that is drawn (and that hitTest is apparently using to determine the collision) adds almost a half inch of space outside of the smallest rectangle that could be drawn around the object! The targets are different sizes, and larger targets have larger errors.

I did a test, making the hero and target both circles. They should have the same bounding rect no matter what the rotation, I would think. The boundaries are snug if the object's speed of rotation is set to 0. But if it is set even to 1 (1 degree of rotation per frame), the boundary rect jumps way out.

Does anyone know what's causing this and/or how I can correct it?

Thanks a lot!

Flash Remoting Returns Resultevent.result==undefined
Hello,

We're trying to implement Flash Remoting MX for Java. When we try the provided samples, everything works fine, but when trying our custom service function, the value of the resultevent.result is undefined. As return-value of our service function, we've tried the following 3 types: Object, ASObject and a custom java class type. In every case, we get the same result.
Does someone knows how we can solve this issue?

Best Regards,

Bart

Secure Flash Remoting From Main.asc Not Returning A Result
Hi, Iv got a problem here that could be Flash Remoting or Flash Media Server related

I have created an application that uses flash media server and flash remoting.
For authentication in my app I used Kevin Towes suggested method "Secure Authentication with Flash Communication Server: Using Tickets and Flash Remoting MX." His article is here
Download PDF Here

Now to the problem...

My application has no problem connecting to coldfusion using flash remoting with the defaultGateway url set to "https://www.mysite.com" (ie over SSL)

However In main.asc, on the Flash Media Server
When Flash Media server attempts to validate the login by connecting to CFMX using flash remoting it gets no response when using a secure gateway url. If I set the default gateway url to just http://www.mysite.com it works great.

Why do I not get any response when using https as my gateway url from Flash Media Server?

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.

Printing - Inside Flash Vs In A Browser. Using Same Print Function = Diff. Result ?
Hi,

I have a problem printing in Internet explorer 6.0 browser.
I need to print a movieclip and the movieclip contains a print button which has the following actions script:

printAsBitmap(this, "bframe");

When I choose to print by clicking the print button located inside the movieclip it prints correctly inside Flash but when I open the movieclip in my browser and click the print button located inside the movieclip the printer prints the movieclip so it looks stretced or scaled incorrectly.

Why does the print function work correctly inside Flash but not in the browser ?

Thank you.

Flash > Php; Display Result In Flash
Code:
phpurl = "submitscore.php";

s_Score= new LoadVars();
r_Score= new LoadVars();
s_Score.tscore = score;

r_Score.onLoad = function(succes)
{
res1.text = r_Score.resx;
}

s_Score.sendAndLoad(phpurl,r_Score,"POST");

PHP Code:



<?php
echo '$resx=test';
?>




Okay, I'm trying to get the game I've build to submit highscores into the database. Now, the highscore submitting goes well enough, but I want flash to display the result (or failure). But res1.text keeps saying 'undefined', while I did echo $resx. What did I do wrong?

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!!!!

Server Side PHP Script Pass A Result Back To Action Script Or Flash 8 Application
This is the little script to call the server side php script what has to be done to this actionscript to support the returning to the flash 8 the message email has been sent. The folowing is the actionscript tied to the submit button.

on (release){
txt.loadVariables("email.php", "POST");
}



Please review the folowing: this a server side php script - the main things is to try to understand how to send back to the flash 8 cleint a messge that the message was sent.

<?
// THIS STARTS THE WORK HERE
if(sizeof($_POST)) {
$body = "";
while(list($key, $val) = each($HTTP_POST_VARS)) {
if ($key != "submit")
$body .= "$key: $val
";
}
echo $body;
echo "<br><br>";
echo "Parseing results from Lodges history web page";
unset($index);
switch($body){
case "lodgapage1":
$index="johntheard.php" ;
break;
case "lodgapage1":
$index="essex.php";
break;
default:
$index="index.php";
}
echo $index;
echo "<br><br>";

echo "Parsed get lodges histroy";
echo "This is the name of the lodge History :" . $index; // The name of the lodge

echo "<br>";
header("Location:"index-7.php ");
echo $index;
exit;

// echo "<META HTTP-EQUIV="Refresh"

// CONTENT="0; URL=index-7.php">";

}

// end form processing

?>

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.

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