Solved

Flash Template learning interactions

Posted on 2008-06-24
6
465 Views
Last Modified: 2012-05-05
Has anybody working with flash and scorm and any luck with the quiz templates provided by Flash? I assume if they worked I'd hear more about them, but I don't hear much. I have to produce tests that record a score on the ALMS (Army LMS which is Saba)
0
Comment
Question by:designaire
  • 4
  • 2
6 Comments
 
LVL 39

Expert Comment

by:blue-genie
ID: 21864390
what's the exact problem you're having?
you using SCORM 2004 or 1.2?
0
 

Author Comment

by:designaire
ID: 21865840
I'm not really having a problem yet, I just wondered if they actually worked before I start using them. Have you used them?
0
 

Author Comment

by:designaire
ID: 22093702
What's the best tool to use for flash that needs to be scorm wrapped and record test scores in an lms?
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:designaire
ID: 22270784
As it turns out, I can't use the flash templates because the multi-choice questions allows mulitple answers....

I just found this code on the web that uses flash to connect to an LMS. I don't understand however, where the tests results should be. I was thinking maybe the variable n:String?


import flash.external.ExternalInterface;
 
 

/**

* @name  	scormExternalInterfaceDemo

* @author	Aaron Silvers (aaron.silvers@gmail.com)

* @link		http://flashforlearning.com

* @desc		This .fla demonstrates how to use Flash 8+

*			_ExternalInterace_ to reasonably use the

*			ADL SCORM 1.2 APIWrapper.js to communicate

*			back and forth with a SCORM-conformant LMS.

* @more		This .fla will demonstrate the following (and

*			arguably most common) Run-Time Data Model

*			Elements:

*			- lesson_location

*			- lesson_status

*			- suspend_data

*/
 

var bookmark:Number;
 

/**

* Initialize

* 

* Attempt Initialization ->

* _if it works -> 

* __set lesson_status to "incomplete"

* _if not ->

* __stop activity

*/

function Initialize():Boolean

{

	var R:Boolean;

	

	var msg:String = "LMS Communication Initialized: ";

	var initCheck = ExternalInterface.call( "doLMSInitialize" );

	

	msg += initCheck;

	

	if ( initCheck == "true" ) 

	{

		log_txt.text += msg + "\n";

		

		// Since we initialized, let's immmediately set the lesson

		// status to "incomplete"

		SetValue( "cmi.core.lesson_status", "incomplete" );

		

		// Since this might not be the first time the learner has

		// seen this content, let's find out if there's a bookmark

		bookmark = Number( GetValue( "cmi.core.lesson_location" ) );

		

		if ( bookmark < 2 ) bookmark = 1;

		

		R = true;

	}

	else

	{

		log_txt.text += msg + "\n" + "Initialized Failed :( \n";

		R = false

	}

	return( R );

}
 

function SetValue ( n:String, v:String ):Void

{

	var R:Boolean;
 

	var msg:String = "SetValue ( '" + n + "' , '" + v + " '):  ";

	var doSetValue = ExternalInterface.call( "doLMSSetValue", n, v );

	

	log_txt.text += msg + "\n";

}
 

function GetValue ( n:String ):String

{

	var R:String;

	

	var msg:String = "GetValue ( '" + n + "'):  ";

	var doGetValue = ExternalInterface.call( "doLMSGetValue", n );

	

	msg += doGetValue;

	

	log_txt.text += msg + "\n";

	

	R = String( doGetValue );

	

	return( R );

}
 

function Terminate():Void

{

	var R:Boolean;

	

	var msg:String = "LMS Communication Terminating... ";

	var termCheck = ExternalInterface.call( "doLMSFinish" );

}

Open in new window

0
 

Accepted Solution

by:
designaire earned 0 total points
ID: 22347291
The Flash Templates don't work very well. There is almost no flexibility or options offered. I found that captivate works much better. There are much more options and different types of questions offered. I hope I can make it work with SCORM.
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 22351106
i've never used Captivate but i know its the industry standard for developing elearning.
in the past i always created my own flash files and did the standard calls to set/get values.
good luck
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now