\n'); } var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1; // Handle all the the FSCommand messages in a Flash movie function DoFSCommand(command, args) { var robodemoObj = InternetExplorer ? robodemo : document.robodemo; args = String(args); command = String(command); var F_intData = args.split(";"); } function doScoring(command,args) { if ( command == "score" ) { var nUserScore = parseInt(userscore); var nMaxScore = parseInt(maxscore); var nRetries = parseInt(retries); var nSteps = parseInt(steps); var nAccuracy = parseInt(accuracy); var htmlString= "
You are at the end of the lesson.
"+ "Your score: | "+ ""+nUserScore+ " |
Maximum score: | "+ ""+nMaxScore+ " |
Accuracy: | "+ ""+nAccuracy+ "% |
Number of steps: | "+ ""+nSteps+ " |
Number of retries: | "+ ""+nRetries+ " |
"+ "
"+ "