Passing FLASH Quiz variables from Lectoa to LMS

 Hi Greg,

 

I really appreciate your help but I am still not winning this one.

 

Here is the code I have:

 

AnswerVal = 10;

import flash.external.*;

ExternalInterface.call("VarQuestion_0001.set("+AnswerVal+");");

 

I am wondering if it’s not too much to ask or if it would be easier, if you could have a look at the files in the 2 links below to see where I am going wrong. The first is my FLASH file, the second, the Lectora ZIP.

 

In the FLASH file the “Run” button assesses the user entry and based on the entry takes them to frame “Correct” or “Wrong”.

 

The code above is in frame “Correct”

 

http://learnonthego.ca/pumpfiles/PumpKeyPad_Q7.fla

http://learnonthego.ca/pumpfiles/PumpsAnnualICU.zip

 

Thanks very much.

Rick


rick said:I have flash simulations that I have added to quiz pages. I am successful passing the variable from my FLASH file to Lectora. For a question page that contains a FLASH file, I have added a fill in the blank question. I put the correct answer in “Possible Correct Answers” When I answer a FLASH question I pass the variable from FLASH to Question_0007 for example. It all works wonderfully when I run it locally in Lectora or publish to HTML. The issue is when I publish SCORM 1.2 to Pathlore. The questions that contain FLASH are sometimes marked wrong even if the correct answer was selected. I say sometimes, because sometimes if I answer all correct I get 100% other times 0% or 20%...it’s very random. I also have tradition multiple choice questions etc. in the quiz and they work fine. Any help would be greatly appreciated. Thanks Rick

Discussions have been disabled for this post