Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

Multiple Choice

This is a discussion on Multiple Choice within the Components forums, part of the English Forums category; Hi, try this one. . Tell me if you are confortable with the new XML file, please....


Go Back   Forum Flash CS3 Flash CS4 > English Forums > Components

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 28-08-07, 14:17
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,486
Rep Power: 6
Flep is on a distinguished road
Hi, try this one. .
Tell me if you are confortable with the new XML file, please.
Attached Files
File Type: zip quiz.zip (155.4 KB, 56 views)

__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #12 (permalink)  
Old 28-08-07, 19:37
Junior Member
 
Join Date: Aug 2007
Location: Dallas
Posts: 10
Rep Power: 0
mdwatkins is on a distinguished road
that looks very good indeed, I just got back from one meeting at Care Flight and am on the way to another one in 15 minutes but the format and operation seems to be spot on. The format of the XML file is fine. The only two items that would have to be included is the additional information text and/or the name of the additional information graphic.

Very good indeed

Mark
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #13 (permalink)  
Old 29-08-07, 16:15
Junior Member
 
Join Date: Aug 2007
Location: Dallas
Posts: 10
Rep Power: 0
mdwatkins is on a distinguished road
I need to take some time today to figure out how you got the field out of XML. I have some code that takes text out of a text file and puts it in a scrolling dynamic text field so I am sure that I can adapt it to work with the XML file. That can form the basis for the text based additional information.

I have been working on the randomization code a bit as well. Should just be assigning a random slot to the “answer1_txt (correct)” field then repeating the process until all of the slots are full. Today is going to be rather full for me I have an operations manual update and a quick animation of the working of the nose wheel steering to have out be close of business.

Mark
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #14 (permalink)  
Old 29-08-07, 16:23
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,486
Rep Power: 6
Flep is on a distinguished road
Hi Mark,
what you mean with:
additional information text and/or the name of the additional information graphic

I can add it but i'm not getting the mean :)
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #15 (permalink)  
Old 29-08-07, 22:24
Junior Member
 
Join Date: Aug 2007
Location: Dallas
Posts: 10
Rep Power: 0
mdwatkins is on a distinguished road
There should be a page that appears after the student either gets the answer right or if we decide to limit the number of times he can get it wrong. In that case a page appears. There is either a page of scrollable text or a graphic. Once the student is satisfied that he has gathered the information necessary from the additional information he goes on to the next question. The two fields that would generate that information would probably be a AddInfoTxt item and an AddInfoGraphic item. I would guess it would be pretty much the full page which is nearly 800 x 600.

The code that would create the page a text box and a simple scroll would be something like this but there would be some changes in extracting it from the text file as in this example or from a text file.

var external_txt:TextField = new TextField();
var externalReq:URLRequest = new URLRequest("external.txt");
var externalLoad:URLLoader = new URLLoader();
externalLoad.load(externalReq);
externalLoad.addEventListener(Event.COMPLETE, textReady);
up_btn.addEventListener(MouseEvent.CLICK, scrollUp);
down_btn.addEventListener(MouseEvent.CLICK, scrollDown);
external_txt.x = 175;
external_txt.y = 100;
external_txt.border = true;
external_txt.width = 200;
external_txt.height = 200;
external_txt.wordWrap = true;
external_txt.multiline = true;
addChild(external_txt);
function textReady(event:Event):void{
external_txt.text = event.target.data;
}
function scrollUp(event:MouseEvent):void
{
external_txt.scrollV --;
}
function scrollDown(event:MouseEvent):void
{
external_txt.scrollV ++;
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Flash Multi Gallery
  #16 (permalink)  
Old 29-08-07, 22:32
Junior Member
 
Join Date: Aug 2007
Location: Dallas
Posts: 10
Rep Power: 0
mdwatkins is on a distinguished road
"...extracting it from the text file as in this example or from a text file." should read "...extrcting it from an XML file."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #17 (permalink)  
Old 11-10-08, 00:56
Junior Member
 
Join Date: Oct 2008
Posts: 1
Rep Power: 0
blankpoint is on a distinguished road
Re: Multiple Choice

I was wondering if this was ever solved, and if so, can the .FLA be posted? I am looking, like the original poster, for the functionality of the multiple choice and other quiz components in Flash to be able to load their questions from an external file (XML or CSV or plain text).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Actionscript 3 how to send multiple data from as3 to php? janicehyy Actionscript 3.0 newbies 1 15-10-08 12:46
Multiple Gallery XML Slideshow Marco advanced Actionscript 3.0 6 14-06-08 10:55
Multiple Choice Interaction wont work LennyP HELP free utilities 1 24-03-08 08:52
Collisioni Multiple tra Clip StefanoV Actionscript 3.0 avanzato 1 29-02-08 08:20
Multiple inertia with Flash CS3 Flep Tutorials 0 25-09-07 17:55


All times are GMT. The time now is 13:44.


Powered by vBulletin versione 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap


FlepStudio
by Filippo Lughi
P.IVA 03605860406