ࡱ> Root Entryp|YrRASHk鯽ContentsNa,Page 1@Symbol 7 OL  !"#$%&'()*+,-./012345MOPQRSTUVWXYZ[\]^_`abcdRoot Entryp|YrRASH ZjContents6+Page 1@Symbol 7 O  !"#$%&'()*+,-./012345789:;<=>?@ABCDEFGHIJKSymbol 9?Symbol 10 /Symbol 6'Symbol 4#Symbol 3 TSymbol 2 Symbol 1Symbol 8 Symbol 11(  !"$%&()*+,-.0123456789:;<=>@ABCDEFGHIJKLMNPQRSTUVWXYZ[\]^_`abCPicPage CPicLayer CPicFrame CPicShapea dwet04t4;04St4;;v0c4S4;v0`4?H` backgroundOOCPicText Z XTahoma(You have completed the task. Use the side menu to move on or to submit your final score.?W textOCPicPage CPicLayer CPicFrameCPicText a((OTahoma(Time: a7 F@ _root.displayTahoma(?D Layer 1OCPicPage CPicLayer CPicFrame?ra Layer 1OCPicPage CPicLayer CPicFrame?& Layer 1OCPicPage CPicLayer CPicFrame <4ѫ 4'DH0E+4_vE4; D 0P;4pT x4;,w042'4 z?9 Layer 1OCPicPage CPicLayer CPicFrame? 9 Layer 1OCPicPage CPicLayer CPicFrameCPicText  (@_root.scoreDisplayTahoma( ((Tahoma(Score:?2 Layer 1OCPicPage CPicLayer CPicFrame SX7ۀL0r,KX%0%0Ӏۀ0?k backgroundOCPicText ;Tahoma333(ATahoma333(A?  ;Tahoma(ATahoma(A? textOOCPicPage CPicLayer CPicFrame SX7ۀL0r,KX%0%0Ӏۀ0?k backgroundOCPicText ;Tahoma333(ATahoma333(A?9P  ;Tahoma(ATahoma(A?,T textOOCPicPage CPicLayer CPicFrame CPicShape Uio7|L0r,KJ0 +J0U0?q Uio7|L0r,KJ0 +J0U0? backgroundOCPicText ;$Tahoma333(Reset?O  <$Tahoma(Reset?JI textOOCPicPage CPicLayer CPicFrame#?a: backgroundO CPicSprite* *d}Ton(press){ this.startDrag(); } on(release){ stopDrag(); _root.checkWord(this); } text_drag {* {*d^ text_plain#?" wordsO M)* M)*donClipEvent(enterFrame){ // carry out some instructions if the user finds all the answers if(_root.done == _root.answerCount and _root.watchtoggle == "on"){ // stop the clock _root.watchtoggle = "off"; // send score to LMS _root.completeLMS(); } }watcher * *drk scoreBoard CPicButtonv* v*d@!on(release){ _root.resetAll(); }reset (* (*dwstopwatchDisplay=8* =8*d +on(release){ _root.changeFontSize("up"); }fontup=8' =8'd S-on(release){ _root.changeFontSize("down"); }fontdown#?H controls3?_(// lmsInitialized is used to ensure that the movie only passes score once to LMS // it is assumed by the movie. Set to false if the activity is stand alone. var lmsInitialized = true; // set initial font sizes - may be overridden by controls on screen var fontsize = 20; var gap = fontsize / 2; // process text to extract each word into an array function splitText(){ // create array to hold each word and split the text words = clozeText.split(" "); // find the number of words wordCount = words.length; // find the longest word to get biggest gap size findBig(); putTextInObjects(); } // create a clip for each word function putTextInObjects(){ // create local variables var wordDepth = 1000; var answerDepth = 10000; var aNo = 0; // create a movie clip to hold all the words attachMovie("wordbox", "objContainer", wordDepth); objContainer._x = startX; objContainer._y = startY; objContainer._width = boxWidth; objContainer._height = boxHeight; var boxColor = new Color("objContainer"); boxColor.setRGB(bColor); // place score board below this and to the left scoreBoard._y = objContainer._y + boxHeight + gap + gap; scoreBoard._x = objContainer._x; // place stopwatch in the middle stopwatchDisplay._y = objContainer._y + boxHeight + gap + gap; stopwatchDisplay._x = ((objContainer._x + objContainer._width) / 2) - (stopwatchDisplay._width / 2); // place reset button below and to the right reset._y = objContainer._y + boxHeight + gap + gap; reset._x = objContainer._x + objContainer._width - reset._width; // place font resize buttons fontup._y = reset._y; fontup._x = reset._x + 110; fontdown._y = reset._y; fontdown._x = fontup._x + 60; // loop through all the words in the text for(var i=0;i boxWidth){ tempX = startX + indent; tempY = tempY + gap + gap + eval("text" + i)._height; } // add the word to the line eval("text" + i)._x = tempX; eval("text" + i)._y = tempY; tempX = tempX + gap + eval("text" + i)._width; } } } function placeAnswers(){ randomiseAnswers(); var tempX = startX + boxWidth + indent; var tempY = startY + indent; for(var i=0;i bigWord){ bigWord = words[i].length; } } } // stopwatch function function stopwatch(){ if(_root.watchtoggle == "on"){ var output = ""; hundredths += 1; if(hundredths < 10){ output = "0" + hundredths; } else if(hundredths >= 10 and hundredths < 100){ output = "" + hundredths; } else if(hundredths == 100){ seconds += 1; hundredths = 0; output = "0" + hundredths; } if(seconds == 0){ output = "00." + output; } else if(seconds < 10){ output = "0" + seconds + "." + output; } else if(seconds >= 10 and seconds < 60){ output = seconds + "." + output; } else if(seconds > 59){ minutes += 1; seconds = 0; output = "00." + output; } if(minutes == 0){ output = "00:" + output; } else if(minutes < 10){ output = "0" + minutes + ":" + output; } else{ output = minutes + ":" + output; } display = output; } } function changeFontSize(direction){ if(direction == "up"){ fontsize = fontsize + 1; } else{ fontsize = fontsize -1; } gap = fontsize / 2; splitText(); placeWords(); placeAnswers(); resetAll(); } // function to pass score to LMS function completeLMS(){ if(lmsInitialized == true){ //getURL("javascript:alert('OK')"); // send score to LMS getURL("javascript:doLMSSetValue('cmi.core.score.raw'," + score + ")"); //fscommand ("doLMSSetValue", "cmi.core.lesson_status,completed"); //fscommand ("doLMSFinish", "\"\""); // reset variable to stop movie passing score lmsInitialized = false; // move on to message screen _root.gotoAndStop("finish"); // optionally unload this movie to give the user visual feedback that something has happened // unloadMovie (_root); } } // resets the screen function resetAll(){ clearInterval(_root.intervalID); _root.finished.removeMovieClip(); gotoAndPlay("setup"); }?3(// create some global variables - don't mess with these var wordCount; var bigWord; var answerCount; var answered = new Array(); var words = new Array(); var wordObject = new Array(); var randomPlace = new Array(); var gap; var score = 0; var done = 0; var xdif; var ydif; var mymc; // declare some variables for stopwatch var tenths = 0; var hundredths = 0; var seconds = 0; var minutes = 0; var display = "00:00.00"; var watchtoggle = "off"; var intervalID = setInterval(stopwatch,10); // stuff you can alter fairly safely var startX = 20; var startY = 20; var indent = 10; var scoreDisplay = ""; var gapTextColour = 0x660000; var textColour = 0x0000ff; var bColor = 0xccccff; var fontname = "Tahoma"; var boxHeight = 500; var boxWidth = 550; var clozeText = "This is the #text for the #first task."; var displayWatch = true; // functions to build the screen splitText(); placeWords(); placeAnswers(); stopwatchDisplay._visible = displayWatch;?txstop();?$3mymc._x = mymc._x - xdif; mymc._y = mymc._y - ydif;? +3mymc._x = mymc._x - xdif; mymc._y = mymc._y - ydif;?3mymc._x = mymc._x - xdif; mymc._y = mymc._y - ydif;?]3mymc._x = mymc._x - xdif; mymc._y = mymc._y - ydif;?j3mymc._x = mymc._x - xdif; mymc._y = mymc._y - ydif;?Z3mymc._x = mymc._x - xdif; mymc._y = mymc._y - ydif;?L3mymc._x = mymc._x - xdif; mymc._y = mymc._y - ydif;?_3mymc._x = mymc._x - xdif; mymc._y = mymc._y - ydif;?Y 3mymc._x = mymc._x - xdif; mymc._y = mymc._y - ydif;?~Jmymc._x = mymc._x - xdif; mymc._y = mymc._y - ydif; gotoAndStop("start");  ?5attachMovie("finish","finished",100000); finished._x = (_width - finished._width) / 2; finished._y = (_height - finished._height) / 2; stop(); scriptsOO?load?setup2g?start"m ?goback ?finish labelsOO) CDocumentPagePage 1Scene 1oH ISymbol 7button{HSymbol 7˩{HSymbol 9resizeup uH button copy~H Symbol 10 resizedown H resizeup copyHSymbol 6scoreczHSymbol 6/ezHSymbol 4 emptyclippHSymbol 4pHSymbol 3wordbox"pHwordboxSymbol 3F{HSymbol 2textoHtextSymbol 2!pHSymbol 1watcheroHSymbol 1oHSymbol 8 stopwatchAH.\clozemaker_timer.fla stopwatch0HAHcH Symbol 11finish zIkfinishD..\vle\scorm 1.2 flash\single task scorm project\task1-src\task2.flafinish0IzIk0I >.hhhhhz%PublishFormatProperties::htmlFileName cloze_2.html"PublishHtmlProperties::StartPaused0!PublishGifProperties::PaletteName PublishRNWKProperties::speed256K0PublishFormatProperties::jpeg0Vector::Debugging Permitted0PublishHtmlProperties::Loop1"PublishQTProperties::MatchMovieDim1 PublishQTProperties::AlphaOption PublishQTProperties::LayerOptionPublishHtmlProperties::Units0$PublishPNGProperties::OptimizeColors1PublishQTProperties::Width550&PublishRNWKProperties::singleRateAudio0&PublishRNWKProperties::speedSingleISDN0%PublishFormatProperties::projectorMac0&PublishFormatProperties::flashFileName cloze_2.swfVector::Compress Movie0PublishGifProperties::Smooth1#PublishRNWKProperties::flashBitRate1200%PublishRNWKProperties::mediaCopyright(c) 2000PublishFormatProperties::html1$PublishFormatProperties::pngFileName cloze_2.png(PublishHtmlProperties::VerticalAlignment1PublishHtmlProperties::Quality4"PublishGifProperties::DitherOption"PublishRNWKProperties::exportAudio1 PublishRNWKProperties::speed384K0!PublishRNWKProperties::exportSMIL1Vector::Override Sounds0!PublishHtmlProperties::DeviceFont0"PublishPNGProperties::FilterOption'PublishRNWKProperties::mediaDescriptionPublishFormatProperties::gif0*PublishFormatProperties::generatorFileName cloze_2.swtVector::Template0Vector::Protect0Vector::Quality80*PublishHtmlProperties::HorizontalAlignment1"PublishHtmlProperties::DisplayMenu1PublishGifProperties::Interlace0"PublishGifProperties::DitherSolids0PublishPNGProperties::Smooth1PublishPNGProperties::BitDepth24-bit with AlphaPublishJpegProperties::DPI4718592PublishQTProperties::Flatten1#PublishFormatProperties::qtFileName cloze_2.movPublishGifProperties::Width550PublishGifProperties::Loop1PublishRNWKProperties::speed28K1!PublishRNWKProperties::mediaTitle$PublishRNWKProperties::mediaKeywordsPublishFormatProperties::flash1#PublishGifProperties::MatchMovieDim1#PublishGifProperties::PaletteOption"PublishPNGProperties::DitherOptionPublishJpegProperties::Quality80$PublishRNWKProperties::realVideoRate100000$PublishRNWKProperties::speedDualISDN0-PublishFormatProperties::projectorWinFileName cloze_2.exePublishHtmlProperties::Align0#PublishPNGProperties::MatchMovieDim1#PublishPNGProperties::PaletteOption$PublishJpegProperties::MatchMovieDim1%PublishFormatProperties::jpegFileName cloze_2.jpgVector::Omit Trace Actions0Vector::Debugging PasswordPublishHtmlProperties::Width550PublishHtmlProperties::Height400"PublishPNGProperties::DitherSolids0"PublishJpegProperties::Progressive0#PublishQTProperties::PlayEveryFrame0PublishFormatProperties::png0PublishFormatProperties::rnwk0-PublishFormatProperties::projectorMacFileName cloze_2.hqxVector::TopDown0!PublishHtmlProperties::WindowMode0'PublishHtmlProperties::TemplateFileNamefC:\Documents and Settings\Richard\Application Data\Macromedia\Flash MX\Configuration\Html\Default.htmlPublishGifProperties::Height400PublishPNGProperties::Interlace0PublishJpegProperties::Size0"PublishFormatProperties::generator0Vector::Report0PublishGifProperties::LoopCount'PublishGifProperties::TransparentOptionPublishGifProperties::MaxColors255%PublishPNGProperties::RemoveGradients0PublishQTProperties::Height400PublishRNWKProperties::speed56K1PublishFormatProperties::qt0Vector::Stream Compress7Vector::Event Format0Vector::Version6$PublishGifProperties::OptimizeColors1"PublishRNWKProperties::audioFormat0Vector::Event Compress7PublishHtmlProperties::Scale0%PublishGifProperties::RemoveGradients0PublishPNGProperties::Width550PublishPNGProperties::Height400PublishJpegProperties::Height400 PublishRNWKProperties::speed512K0$PublishFormatProperties::gifFileName cloze_2.gifVector::Stream Format0PublishGifProperties::Animated0&PublishGifProperties::TransparentAlpha128!PublishPNGProperties::Transparent0!PublishPNGProperties::PaletteNamePublishJpegProperties::Width550*PublishQTProperties::UseQTSoundCompression0PublishQTProperties::Looping0"PublishRNWKProperties::exportFlash1&PublishRNWKProperties::showBitrateDlog1(PublishRNWKProperties::speedCorporateLAN0"PublishRNWKProperties::mediaAuthorPropSheet::ActiveTab1621%PublishFormatProperties::defaultNames1%PublishFormatProperties::projectorWin0%PublishFormatProperties::rnwkFileName cloze_2.smilPublishPNGProperties::MaxColors255%PublishQTProperties::ControllerOption0"PublishQTProperties::PausedAtStart0 CColorDef   3P fP0 PH P` Px 3 33( 3f<0 3CH 3F` 3Hx f0 f30 ff(0 f5H f<` f@x  3330  3 33x f3d0 3]H 3Z` 3Xx 33 3330 3f3PPH 33Px` 33Px 33P f30 f33PH ff3(PH f3<x` f3Cx f3F  fff`  f0 3f0 ffx0 fkH fd` f`x 3f0 33fPH 3ffxPH 3fdx` 3f]x 3fZ ff0 f3fPH fff` ffP0x ffPx ffP    H 3H fH xH ̙n` hx 3H 33x` 3fx` 3xx` 3̙kx 3d fH f3x` ff0x fx0x f̙dx f]    ` 3` f` ` x` px 3` 33x 3fx 3x 3xx 3n f` f3x ffx fx fxx fk    x 3x fx x x xx 3x 33 3f 3 3 3x fx f3 ff f f fx  x  H 3 H fH (H 2` 8x ` 3 ` f` ̙` (` 0x x 3x fx x  x (x  Px  3H 33x` f3x` 3(x` 35x 3< 3` 33x f3 x ̙3x 3(x 32 3x 33 f3 3 3 3(  x  fH 3fx` ff0x f(0x f<x fC f` 3fx ffx ̙fx f(x f5 fx 3f ff f f f(  (x  H 3x` f0x  ̙PP P ` 3x fx ̙P ̙(P < x 3 f  ̙ (  xx  ` 3x fx P xP d ` 3x fx ̙P  P x 3 f   (  x  x 3 f   x x 3 f ̙  x x 3 f          f`zf *]"PublishQTProperties::QTSndSettingsCQTAudioSettingshSymbol 9?Symbol 10 /Symbol 6 'Symbol 4#Symbol 3 TSymbol 2Symbol 1Symbol 8 ) CDocumentPagePage 1Scene 1oH ISymbol 7button{HSymbol 7˩{HSymbol 9resizeup uH button copy~H Symbol 10 resizedown H resizeup copyHSymbol 6scoreczHSymbol 6/ezHSymbol 4 emptyclippHSymbol 4pHSymbol 3wordbox"pHwordboxSymbol 3F{HSymbol 2textoHtextSymbol 2!pHSymbol 1watcheroHSymbol 1oHSymbol 8 stopwatchAH.\clozemaker_timer.fla stopwatch0HAHcH Symbol 11finish zIkfinishD..\vle\scorm 1.2 flash\single task scorm project\task1-src\task2.flafinish0IzIk0I >.hhhhhz PublishRNWKProperties::speed256K0!PublishGifProperties::PaletteName"PublishHtmlProperties::StartPaused0%PublishFormatProperties::htmlFileNameclozemaker_notxt_timer_LMS.html PublishQTProperties::LayerOption PublishQTProperties::AlphaOption"PublishQTProperties::MatchMovieDim1PublishHtmlProperties::Loop1Vector::Debugging Permitted0PublishFormatProperties::jpeg0&PublishRNWKProperties::speedSingleISDN0&PublishRNWKProperties::singleRateAudio0PublishQTProperties::Width800$PublishPNGProperties::OptimizeColors1PublishHtmlProperties::Units0%PublishRNWKProperties::mediaCopyright(c) 2000#PublishRNWKProperties::flashBitRate1200PublishGifProperties::Smooth1Vector::Compress Movie0&PublishFormatProperties::flashFileNameclozemaker_notxt_timer_LMS.swf%PublishFormatProperties::projectorMac0!PublishRNWKProperties::exportSMIL1 PublishRNWKProperties::speed384K0"PublishRNWKProperties::exportAudio1"PublishGifProperties::DitherOptionPublishHtmlProperties::Quality4(PublishHtmlProperties::VerticalAlignment1$PublishFormatProperties::pngFileNameclozemaker_notxt_timer_LMS.pngPublishFormatProperties::html1'PublishRNWKProperties::mediaDescription"PublishPNGProperties::FilterOption!PublishHtmlProperties::DeviceFont0Vector::Override Sounds0PublishQTProperties::Flatten1PublishJpegProperties::DPI4718592PublishPNGProperties::BitDepth24-bit with AlphaPublishPNGProperties::Smooth1"PublishGifProperties::DitherSolids0PublishGifProperties::Interlace0"PublishHtmlProperties::DisplayMenu1*PublishHtmlProperties::HorizontalAlignment1Vector::Quality80Vector::Protect0Vector::Template0*PublishFormatProperties::generatorFileNameclozemaker_notxt_timer_LMS.swtPublishFormatProperties::gif0$PublishRNWKProperties::mediaKeywords!PublishRNWKProperties::mediaTitlePublishRNWKProperties::speed28K1PublishGifProperties::Loop1PublishGifProperties::Width800#PublishFormatProperties::qtFileNameclozemaker_notxt_timer_LMS.mov$PublishRNWKProperties::speedDualISDN0$PublishRNWKProperties::realVideoRate100000PublishJpegProperties::Quality80"PublishPNGProperties::DitherOption#PublishGifProperties::PaletteOption#PublishGifProperties::MatchMovieDim1PublishFormatProperties::flash1$PublishJpegProperties::MatchMovieDim1#PublishPNGProperties::PaletteOption#PublishPNGProperties::MatchMovieDim1PublishHtmlProperties::Align0-PublishFormatProperties::projectorWinFileNameclozemaker_notxt_timer_LMS.exe#PublishQTProperties::PlayEveryFrame0"PublishJpegProperties::Progressive0"PublishPNGProperties::DitherSolids0PublishHtmlProperties::Height600PublishHtmlProperties::Width800Vector::Debugging PasswordVector::Omit Trace Actions0%PublishFormatProperties::jpegFileNameclozemaker_notxt_timer_LMS.jpgPublishJpegProperties::Size0PublishPNGProperties::Interlace0PublishGifProperties::Height600'PublishHtmlProperties::TemplateFileNameeC:\Documents and Settings\home\Application Data\Macromedia\Flash MX\Configuration\Html\scorm_1-2.html!PublishHtmlProperties::WindowMode0Vector::TopDown0-PublishFormatProperties::projectorMacFileNameclozemaker_notxt_timer_LMS.hqxPublishFormatProperties::rnwk0PublishFormatProperties::png0PublishRNWKProperties::speed56K1PublishQTProperties::Height600%PublishPNGProperties::RemoveGradients0PublishGifProperties::MaxColors255'PublishGifProperties::TransparentOptionPublishGifProperties::LoopCountVector::Report0"PublishFormatProperties::generator0"PublishRNWKProperties::audioFormat0$PublishGifProperties::OptimizeColors1Vector::Version6Vector::Event Format0Vector::Stream Compress7PublishFormatProperties::qt0 PublishRNWKProperties::speed512K0PublishJpegProperties::Height600PublishPNGProperties::Height600PublishPNGProperties::Width800%PublishGifProperties::RemoveGradients0PublishHtmlProperties::Scale0Vector::Event Compress7"PublishRNWKProperties::mediaAuthor(PublishRNWKProperties::speedCorporateLAN0&PublishRNWKProperties::showBitrateDlog1"PublishRNWKProperties::exportFlash1PublishQTProperties::Looping0*PublishQTProperties::UseQTSoundCompression0PublishJpegProperties::Width800!PublishPNGProperties::PaletteName!PublishPNGProperties::Transparent0&PublishGifProperties::TransparentAlpha128PublishGifProperties::Animated0Vector::Stream Format0$PublishFormatProperties::gifFileNameclozemaker_notxt_timer_LMS.gif"PublishQTProperties::PausedAtStart0%PublishQTProperties::ControllerOption0PublishPNGProperties::MaxColors255%PublishFormatProperties::rnwkFileNameclozemaker_notxt_timer_LMS.smil%PublishFormatProperties::projectorWin0%PublishFormatProperties::defaultNames1PropSheet::ActiveTab1620 CColorDef   3P fP0 PH P` Px 3 33( 3f<0 3CH 3F` 3Hx f0 f30 ff(0 f5H f<` f@x  3330  3 33x f3d0 3]H 3Z` 3Xx 33 3330 3f3PPH 33Px` 33Px 33P f30 f33PH ff3(PH f3<x` f3Cx f3F  fff`  f0 3f0 ffx0 fkH fd` f`x 3f0 33fPH 3ffxPH 3fdx` 3f]x 3fZ ff0 f3fPH fff` ffP0x ffPx ffP    H 3H fH xH ̙n` hx 3H 33x` 3fx` 3xx` 3̙kx 3d fH f3x` ff0x fx0x f̙dx f]    ` 3` f` ` x` px 3` 33x 3fx 3x 3xx 3n f` f3x ffx fx fxx fk    x 3x fx x x xx 3x 33 3f 3 3 3x fx f3 ff f f fx  x  H 3 H fH (H 2` 8x ` 3 ` f` ̙` (` 0x x 3x fx x  x (x  Px  3H 33x` f3x` 3(x` 35x 3< 3` 33x f3 x ̙3x 3(x 32 3x 33 f3 3 3 3(  x  fH 3fx` ff0x f(0x f<x fC f` 3fx ffx ̙fx f(x f5 fx 3f ff f f f(  (x  H 3x` f0x  ̙PP P ` 3x fx ̙P ̙(P < x 3 f  ̙ (  xx  ` 3x fx P xP d ` 3x fx ̙P  P x 3 f   (  x  x 3 f   x x 3 f ̙  x x 3 f          f`zf *]"PublishQTProperties::QTSndSettingsCQTAudioSettingsh