Jokes
Soph: My stock in trade is brains.
Freshie : You've got a funny looking sample case.
The follo"wing was handed in on an examination paper
in American history:
General Braddock \vas killed in the Revolutionary
"Var. I-Ie had three horses shot...
The I-Text Distance Learning System 42
APPENDIX 3
SOURCE CODE FOR THE I-TEXT AND RELATED CONSOLES
The following is source code for each of the RIA’s included as part of the I-Text system. Unless
noted, the source code is written in Actionscript...
The I-Text Distance Learning System 48
import flash.net.sendToURL;
import flash.text.TextFormat;
import flash.text.TextFieldAutoSize;
import fl.controls.Label;
var titleText :Label = new Label();
var titleTextFormat :TextFormat = new...
The I-Text Distance Learning System 50
Chat Console:
Note: The Chat Console utilized a chat application that was external to the I-Text system.
import flash.display.Loader;
import flash.net.URLRequest;
Security.allowDomain("*")
//_root.documentRoot...
The I-Text Distance Learning System 55
import fl.controls.Label;
import flash.display.Graphics;
import flash.display.Shape;
var myScrollPane :ScrollPane = new ScrollPane();
var heightOffset :int = 0;
var questions :Sprite = new Sprite();
var submit...
The I-Text Distance Learning System 57
{
if((event.target as URLLoader) != null )
{
// Save data
xmlData = new XML(loader.data);
//bannerAdsTotal = xmlData.bannerAds;
//trace(bannerAdsTotal);
numberOfQuestions = xmlData.question.length();
timeLimit...
The I-Text Distance Learning System 58
var qr1:QuestionRenderer = new QuestionRenderer(index + 1,
xmlData.question[index].qType, xmlData.question[index].qContent, xmlData.question[index].multChoiceA,
xmlData.question[index].multChoiceB,...
The I-Text Distance Learning System 59
var variables3:URLVariables = new URLVariables();
var varSend3:URLRequest = new URLRequest(mainURL+"addstudentattempt.php");
varLoader3.addEventListener(Event.COMPLETE, completeHandler3);
varSend3.method =...