ActionScript 2.0 :: Quiz Results Not Displaying In Swf File?

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


Similar Posts:


IDE :: Can't Get Results In Quiz

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

Professional :: Sending Flash Quiz Results To A LMS?

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

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

ActionScript 2.0 :: Xml Quiz That Submits Results To Database?

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

Professional :: Creating Online Quiz With Scoring Results

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

ActionScript 2.0 :: Results Screen Of Quiz Not Reading Arrays On Frame 1

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

ActionScript 3.0 :: Capturing Data In A Text Box On Results Screen For Quiz

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

ActionScript 3.0 :: Score Quiz Results Using A Statistical Formula Called A Probit Function

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

ActionScript 2.0 :: Math Quiz - Result Displaying NaN

Aug 6, 2009

I am creating a maths quiz...There are 2 input text fields..The instance names of 2 input text fields are inputField and inputField02. There is one dynamic text field to display the result....The instance name of dynamic text field is resultField.

Code:
var a: String;
var b: String;
a=inputField.text;
b=inputField02.text;
answer_btn.onRelease = function() {
resultField.text = a/b;
}

However when I press on answer button, the result displayed is NaN.

View 9 Replies

ActionScript 3.0 :: Displaying PHP Results As Movie Clips

Apr 14, 2011

I have a simple question, let's say I have a PHP script to return a number for values separated by commas(,). (E.g 2,5,6,1,3) What I wanted to do is to create a Flash file that accepts the PHP values above as individual values and display different Movie Clips based on the values (in this case it'll be Movie Clip 2, Movie Clip 5, Movie Clip 6, etc.)

View 3 Replies

ActionScript 2.0 :: Tween Executing But Not Displaying Results

Jan 13, 2011

I have a dynamic tween within a function, which basically makes a movie clip visible, after it had been made invisible by another tween call.[code]...

imgOut is called when an event is triggered. I can see the trace function messages from within the function, but I don't see folioholdermc after imgopen has been called once.

I put in a trace for folioholdermc._alpa, and it shows 0, AFTER the fholderBack tween has been executed.

View 1 Replies

ActionScript 2.0 :: Removing Correct Answers From Array In Of Random Quiz Questions In Xml Quiz?

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

Flex :: Zipping A Swf File Results In A Bigger File?

Sep 26, 2010

When I GZIP an swf file, the size goes from 1,21 mb to 1,86 mb...I guess, as a colleague of mine said, that the swf is already binary and can't be compressed anymore.Conclusions is also that zipping swf files shouldn't be done.

View 3 Replies

Read In A Xml File To Create Content For A Quiz?

Apr 16, 2009

I am writing a class in AS 3.0 to read in a xml file to create content for a quiz. Once I instantiate the xml obj and pass in a string that determines the xml name in the constructor for the xml class I read in the xml and populate some arrays. Evidently in AS 3.0 you have listeners for reading in xml, which is the problem I am having. Once the object is instantiated I try to call on a method called getArray, but the XML hasnt finished being read in and I get a compile error. Error below: TypeError: Error #1009: Cannot access a property or method of a null object reference.at xmlReader_fla::MainTimeline/frame1()

[Code]...

View 1 Replies

ActionScript 1/2 :: Styling Checkbox In Quiz File?

Mar 16, 2012

I have been creating an e-learning package using RapidIntake software. They have a quiz file that is used throughout the course. I've downloaded the source files to try to change the font size of the checkbox component but its not working the normal way?I've tested it by putting another checkbox in the middle which you can see in my picture. But the same code isn't working for the original checkboxes.The code I've used is est.setStyle("fontSize",16);Checkbox2.setStyle("fontSize",16);The test checkbox is the one in the middle thats working.

View 6 Replies

ActionScript 3.0 :: Import Data From An Xml File And Use It In A Quiz Program?

Jan 19, 2010

I am trying to import data from an xml file and use it in a quiz program. currently the quiz program uses an array like so:\

wordList = ("John,Susan,Mary,Margaret,James,Sam,Ursula,Nelly, Peter").split(",");
My xml file is in the form: <list><word>John</word><word>Susan</word><word>Margaret</word><word>James</word><word>Sam</word><word>Ursula</word><word>Nelly</word><word>Peter</word>

[code]......

View 2 Replies

ActionScript 3.0 :: Export An Excel Or Word File After Quiz Taking

Mar 11, 2010

I'm doing a quiz system now, which allow user to type into his name---start quiz---choose a correct answer from questions---account the result----export an excel/word/txt file of different users information and result on backstage.[URL]..now i just duno how to allow user type his information into it and how to export an excel or word file after quiz taking. does anyone did tat be4?

View 1 Replies

ActionScript 3.0 :: Filter Results From An XML File?

Aug 18, 2010

I have a problem that is driving me nuts. I have been googling for the last two days now, but I still haven't found the solution to my problem.

I'm creating a list of courses for an LMS where the data is pulled in from an XML file. All that works perfectly well.

The user should be able to filter the list based on a number of parameters and I have been able to get some of it working (the very simple filters) but other things just wont work.

For example - I am able to filter the results based on the node values that are located directly under the main "course" node. However each of these main course nodes also contain a "sub-node" called "Categories". What I really need is to be able to filter based on the content found in that categories node as well.[code]...

View 0 Replies

ActionScript 2.0 :: Randomise Ansewer Options In Flash Quiz, Is Linked To Xml File?

Dec 9, 2008

I have a tricky problem. I've been working on a flash quiz that uses a xml file to generate questions in a random order. Got that working fine. The Fla parses open the file and loads the nodes into dynamic text boxes.

[Code]...

View 1 Replies

Professional :: Encoding For FLV Results In 10x Larger File CS5 Vs CS4

Oct 1, 2010

I've recently upgraded to CS5 and the Media Encoder creates incredibly HUGE files compared to the CS4 media encoder.
 
For example, I can convert a 15MB mpg file to a 12 MB flv file in CS4 using the preset  "FLV same as source"
 
I do not find a matching preset in CS5, but tried "FLV - match source atributes (medium quality)"  Encoding the same file in CS5 with this preset results in 170MB file.
 
I've tried adjusting the settings, comparing the options in both versions, and I still can't get a reasonably sized file out of the CS5 media encoder.
 
This seems really broken to me.  A 170 MB file is not useful in any way.  Do I have bad presets?
 
Adobe Media Encoder version is 5.0.1.0  (32-bit)

View 4 Replies

ActionScript 2.0 :: Saved Banner Ad Results In Empty File?

Sep 9, 2009

The swf that I saved appears to be blank. When I run it from the saved location, it comes up blank but when opened in the decompiler it plays. But when I save out the FLA from the decompiler, it saves what appears to be an empty FLA. One would guess that they are dynamically loading info from the web but I am finding no Actionscript to even do that.

View 5 Replies

ActionScript 3.0 :: Make Run A Doc Class That Load An XML File And Output The Results On Trace?

Mar 1, 2009

I am trying for first time actionscript as package document.And I am trying to make run a Doc class that load an XML file and output the results on trace.I don't know where are my errors:

Code:
package
{
import flash.display.MovieClip;
import flash.events.*;

[code]...

View 2 Replies

Flex - Security Restriction - Save The Results Of A Database Query To A Local File?

Jan 2, 2012

I'm having some trouble getting around a security restriction of flex. Saving a file is apparently an action that can only be invoked upon user interaction. The problem is that after my user clicks on the save button, I need to perform a database query to get the data for the file I want to save.

Because Flex works asynchronous, I have to make the database call and then catch the ResultEvent in a different function. In that function, I no longer have the user's mouseclick event. How am I then supposed to save this file?

[Code]...

View 1 Replies

ActionScript 2.0 :: Create A Search Function And Show The Results By Goin To That Particular Frame Within A Flash File ?

Sep 28, 2003

Is it possible to create a search function and show the results by goin to that particular frame within a flash file ?

The data is not dynamic....and it is not server/web based....

View 11 Replies

ActionScript 2.0 :: "POST" The Input To A PHP File And Return The Results From PHP?

Feb 15, 2009

I have a form setup in flash. I am trying to "POST" the input to a PHP file and return the results from PHP.Strangely enough I have successfully done both sending and returning the data. My problem is that I cannot get them both working together.Here is my actionscript:

Code:
//OnRelease
Path.SubmitBtn_mc.onRelease = function()
{

[code]....

View 2 Replies

ActionScript 3.0 :: Displaying Photos From A XML File?

Aug 26, 2008

have to build an app that shows a bunch of photos (listed in an XML file) based upon certain criteria in the XML data. First view will show ALL the photos, and then the user will whittle down the choices/photos based upon criteria they select via check boxes.

how to pull the XML data into the application. I'll have to build a listener for the check box component(s), which shouldn't be difficult. The onClick event would then have to search through the XML/array and show only the user-selected data. It would be good also if the pictures were actually pulled from the server's hard drive rather than having them stored in the Flash file. That would allow the site's owner to easily add images by simply copying them to the server and adding data to the XML. Is that do-able, and if so, can anyone put me on the right path (theorhetically) to developing it?

I have at this pre-planning stage is this: ALL the pix are certainly not going to fit on the stage at one time. I am going to have to have a finite number of pix, say six, visible on the stage, and then allow the user to filter through the as-yet-unseen images by clicking on a number (Page 2 of 7), or something along those lines.

View 2 Replies

ActionScript 2.0 :: Displaying CDATA In XML File

Jan 29, 2007

I'm working with Scotty's image gallery code and I would like to use CDATA instead of a node attribute to supply captions for the images. The reason being that it should be *easy* to apply HTML formatting to the CDATA, including bolding and line breaks. At this stage I have two issues:

1) The only way to get the HTML to display is to apply a stylesheet. For some reason the stylesheet isn't working here (even though the exact same code works for me in a different file).

2) I don't know how to iterate through the nodes to pull the appropriate CDATA when a thumbnail button is clicked. I do know how to target the very first CDATA node value so that's what you see displayed. But I'm not figuring out how to loop through them properly.

[Code]...

View 1 Replies

IDE :: Displaying PDF File Within Flash Movie?

Jan 23, 2009

I have been asked to write a small flash widget in AS3 which can display a PDF within Flash Movie. NOT open a pdf file in a browser. Can this be done?

View 3 Replies

ActionScript 2.0 :: Displaying Text From Txt File?

Mar 16, 2002

how can i display specific line of .txt file in a text field??

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved