Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash multiple choice in LearningSpace

Status
Not open for further replies.

CaWebGirl

Programmer
Mar 4, 2002
11
US
Has anyone gotten a multiple Choice quiz to pass scores to LearningSpace? Is this possible? Thanks!
 
Yes, we use external scripts with LearningSpace4, we are in the proccess of finding out how to communicate with LearningSpace5.
You can work out how to do it by reading the "Course Administrators Guide".

The commands "getparam" and "putparam" are what you need.
(Page 52 details "getparam")

You will need the aicc_url and aicc_sid both of which are passed through from a learningspace page as a query string.

ie: you embed your flash in a page called assessment.html
link assessment.html from learningspace. When you click on the link in LS4 it will generate the url with aicc_sid and aicc_url included.. something like this:


Code:
[URL unfurl="true"]http://chimera.learnedsolutions.com/efl/module4/lesson01/lia/M4L01_lia_01.html?aicc_sid=73265710-26633-RID33662163&aicc_url=http%3A%2F%2Fchimera.learnedsolutions.com%2FLearningSpace4%2FProgram%2FScripts%2FPWTrack.asp[/URL]

You'll have to read up on how to extract that info from within flash.

here is some perl that may or may not help you:


Code:
my $cmdinfo = "command=putparam\&version=3.0\&session_id=$sessid\&aicc_data=[Core]\&$put";

my $req = new HTTP::Request POST => $url;
  $req->content_type('application/x-[URL unfurl="true"]www-form-urlencoded');[/URL]
  $req->content($cmdinfo);

This way works anyway.. there may be another way to integrate with flash directly, not sure on that.

Hope this helps!!

I work with ommah, and he checks these forums a lot more than me, so if you need further help, maybe try contacting him.
 
This is GREAT feedback, I'll give it a try, thanks so much!!
 
No problems at all!!!

Always happy to help and further the cause of LearningSpace development!
 
Faidel:
I found some info on how to do this in LS5. Go to: LS content guide release 5, chapter 3 (developing your own courses with Macromedia products) page 25. There is a checklist for integrating Flash content with LearningSpace.
Good luck!
PB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top