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


Similar Posts:


ActionScript 2.0 :: Make A Form That Submits Info To A Database And Then Displays It In Flash?

Jan 18, 2004

I need help to make a form (in Flash) that submits info to a database, and then displays it in Flash. Even better, submits the info to a Flash-made database.

View 7 Replies

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

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

Professional :: Ql Database And Display Results Based On The Data?

Jul 4, 2010

Is it possible for recent versions of flash to directly (or thru Php) access (& update) data from a mysql database and display results based on the data?
 
So if my database were like this (math scores):User 13Jerry | 20Kane | 7 the flash output would be a bar graph like this (those hyphens would be bars in flash)
 
Is this possible these days? Google analytics does something like similar to this.
 
I last used flash somewhere in 2003/4. Never after that :-) I've completely lost touch.

View 6 Replies

Flex :: Drawing And Binding Results From A Database Token?

Mar 4, 2012

I have been making huge strides in learning Flex and I am very much enjoying it, however,one thing I cannot find is how to bind results from a query in Flex. I have managed to create lists etc no problem but when I try to bind one specific value to a variable, it does not work.First off, here is my PHP function:

public function getRepnameByUsername($itemID) {
$stmt = mysqli_prepare($this->connection, "SELECT * FROM $this->tablename where Username=?");

[code]......

View 1 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 3.0 :: Send Search String To Database Query And Return Results To Dynamic Text Fields?

Feb 22, 2011

I have a dropdown box that is used to select a Category. I need the Flash Application to send the value of Category plus the search string in my textbox to my Access query and return results for each product meeting selection criteria. The Flash Application is calling an ASP.NET web service which in turn queries an MS Access database.

To start, how do I define the category ID and search value in my Actionscript 3 code?I've placed a series of 12 or so objects that will be populated with the product description, title and price. How do I setup each field to be dynamic text associated with the title description and price from my query results? If there are more than 12 products returned by the query, how do I add an additional page of objects to house more than 12 query results?

View 2 Replies

ActionScript 3.0 :: Mysql Database Design = Multiple Students + Multiple Results

Feb 9, 2011

This is more of a database design issue but almost everybody here uses database integration with their apps so I feel it is important. I am integrating AS3 + mysql + php and need to clear up the database design for multiple students results in various activities. Developing an online e-learning course with a "dashboard" or teacher control panel with all kids results in each activity. I have read the database design rules by Codd etc... understand the need for parent and child tables so information is relational and not duplicated etc... BUT I am not sure how to design the results part. Various students do various lessons with 10 activities which each give a mark out of ten. The table would be updating every few seconds as 10,000 users would be online at the same time

1. Would I create a results table with all the students results going in the same table ie: Tom would be the first row

[Code]....

View 5 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

ActionScript 3.0 :: Option Menu Which Records Info And Submits To Mysql DB

Jul 14, 2010

looking to create an option menu (at least that is what it is called in HTML).[code]looking to do this in flash though with AS3, PHP and MySQL. The data can be stored in XML. please let me know if anyone has done something like this before, or if they know of a good tutorial which details how.

View 1 Replies

ActionScript 3.0 :: HTML FORM Submit Button - Submits Flash Too?

Mar 3, 2009

got to make an html form with a submit button, but, istead of using ordinary html inputs, i integrated a flash swf inside the form, so, when we click on the html submit button, the navigator goes inside the flash swf and gets some vars, then submits the html form (of corse, with vars from swf)! how to send vars to swf as senocular described.

View 1 Replies

Flex :: Soap - Possible To Create A Flex Contact Form That Submits Data To Salesforce.com As A New Lead?

Oct 7, 2011

has their own web-to-lead form that can be used to send leads from a website contact form. But I want to submit leads from a contact form inside a flex application. I can't see anything in the documentation, or on Google about this. Is it possible?

View 1 Replies

IDE :: Make A Flash Movie Display Text That Is In The Sql Database And A Php Script To Change The Database?

Jul 15, 2009

i want to intertwine php, MySql and flash. so i can make a flash movie display text that is in the sql database and a php script to change the database, php > sql = i can do but sql > flash = i can't do..i want it so the sql data show's in a text box in the flash movie...

View 1 Replies

Flex :: Get Local SQLite Database In Sync With Live Server Database?

Dec 17, 2009

I want to create a Flex 3 application running in Adobe Air that accesses an SQLite database and I need to keep this database in sync with an SQL server 2005 database running a website.Is this something that Flex supports or is it going to be a custom script? Also, has anybody done anything like this?

Edit: The synchronisation can be done on a daily basis rather than real time. The data will be read only from a front end perspective with a CMS to do updates on the website.

View 2 Replies

Php :: FLEX Database Will Not Refresh After Updating Database Unless Browser Is Restarted?

Jun 7, 2010

I have researched this issue all over and most people say use the .refresh() method to update a datagrid after updating or adding a new record. This does not do anything. So, my issue is this. I have a mySQL database hosted I am connecting via PHP, I have 1 mxml file and 2 php files (I know I can use just 1 but I am learning and this was easier for me to use for troubleshooting). The issue is no matter what I change on the datagrid the update does not show on the datagrid unless I close out of IE and reopen it. I can refresh or open the page in another window and the update does not show. I have to exit entirely and restart in order for any updates or additions to show.Here is my licenseTracker.mxml

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code]....

View 9 Replies

Database :: Save A Form To The Database Without Knowing The Field Type?

Jun 17, 2010

I am working on a function to generate a form at runtime in Flex based on a call to the DB. The call to the DB returns the field types, id, tooltips etc as an arraycollection, the arraycollection is then parsed in order to ascertain what control to display based on the type field in the array - this bit works fine.However, i am stuck on trying to save the form fields back to the database using a CFC.my form rendering code is as follows but how do i save values entered back to the database? rendering code..

[Bindable]
public var getglobalprofileb:ArrayCollection;
public function init(event:ResultEvent):void {[code].......

View 1 Replies

Php :: FLEX Database Will Not Refresh After Updating Database Unless Browser Is Restarted

Aug 31, 2011

I have updated the mxml code to only show the needed code for the program to run the update.

I am new to Flex and have an issue I hope you all can help me out with.

I have researched this issue all over and most people say use the .refresh() method to update a datagrid after updating or adding a new record. This does not do anything.

So, my issue is this. I have a mySQL database hosted on 000webhost.com, I am connecting via PHP, I have 1 mxml file and 2 php files (I know I can use just 1 but I am learning and this was easier for me to use for troubleshooting). The issue is no matter what I change on the datagrid the update does not show on the datagrid unless I close out of IE and reopen it. I can refresh or open the page in another window and the update does not show. I have to exit entirely and restart in order for any updates or additions to show.

Here is my licenseTracker.mxml

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[Code].....

View 1 Replies

Database :: Approach Local Database Management Via Flex/Air App?

Jan 17, 2011

I am planning on using Flash Builder 4/Flex to write an AIR application which is primarily based around recording, storing and analyzing data.I'll be creating charts etc that need to update in almost real time.It's essential to me that the application be able to function without an internet connection so I need a local database of some variety,but I would also eventually like to build in online synchronization of the data where either database can be update each other based on newer information. Moreover, some type of encryption would definitely be welcome, and speed is a large concern

Synchronization: Primarily updates/additions/deletions will be done on the offline database, but ideally I want to have a web interface that will allow the same updates/additions/deletions and will be synced (beyond that I'm not sure exactly how to do it as I can model that based on what is most achievable).I'm wondering if there's any prebuilt engine that could handle the synchronization of 2 databases. I may end up having the web interface only be for additions, which would be significantly easier to sync.. and I may start that way, but i want to build with technologies that will best allow me to implement full online crud at some point.

View 1 Replies

Database :: Connect Adobe Flash CS To Database Of Any Kind?

Jul 17, 2011

Can I build flash application that connects to database? (MySQL) For example: Photo Gallery that brings me the photos from database...

View 3 Replies

Database :: Adobe Flex With Accessing Database For Mobile Web?

Sep 26, 2011

Here is the issue: a client wants his entire equipment inventory accessible by persons navigating to his jquery mobile site. The inventory that exists on the desktop site was, as I understood, built with Flex. Is it possible to access this database for the jquery mobile site? I believe it is. I was then given this information from someone in the know:

Database:
mlxx.db.xxxxxxx.hostedresource.com
login: mxxx

[code]...

View 1 Replies

Database :: Is It Possible To Create A Database Driven Website With Flash?

Oct 26, 2006

Is it possible to create a database driven website using these alone? Or do i need to learn any other technology? If i do then what should i learn? I know j2se for the desktop and oracle SQL/MySQL i finally got the feeling that i need to learn PHP anyway along with css and javascript. So it is fine. Also another query. Which CMS should i consider? Wordpress or Joomla?

View 1 Replies

Database :: Which Database To Use For Flex Standalone Application?

Jan 11, 2010

I am planning to develop a standalone application, which infact will be used for personal purposes. So only single user access may be there. I want to develop it in Flex. Just want some opinions from the gurus over here : Whether i should use Flex or AIR (I know only Flex, AIR i need to start learning)Which database i should use? SQLLite or HSQLDB or some other.

View 3 Replies

Database :: Flash Database Grid Fill?

Jan 15, 2012

I have a database on a server and I transfer the data from it to a web site. So I need to build a flash grid on this site and to load the data on it. But the problem is that I do not know how to do it. So my question is how to build a dynamic flash grid wich is fill with data from a database? Is there a way to do it with action script only or I must do it another way?

View 1 Replies







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