[osflash] SCORM multi api wrapper

Lieven Cardoen Lieven.Cardoen at IndieGroup.be
Thu Oct 26 03:35:36 EDT 2006


I've searched, and searched, and I don't seem to figure out how to get a
value...

 

proxy.call( "apiCall", "getValue", "_DataModelElement_" );

 

This should go and get a value, but where is the value stored in???

 

Lieven

 

________________________________

From: osflash-bounces at osflash.org [mailto:osflash-bounces at osflash.org]
On Behalf Of Lieven Cardoen
Sent: woensdag 25 oktober 2006 19:39
To: Open Source Flash Mailing List
Subject: Re: [osflash] SCORM multi api wrapper

 

No apoligizes needed, but how do I get this "getValue" working, Aaron?
Should we use fscommands? Or something else? This multi api wrapper is
also provided by Adobe so doesn't it work or...

 

I'm having lots of problems finding answers on the internet. Setting
values is no problem, but getting values seems to be harder.

 

Lieven Cardoen

 

________________________________

From: osflash-bounces at osflash.org [mailto:osflash-bounces at osflash.org]
On Behalf Of Aaron Silvers
Sent: woensdag 25 oktober 2006 17:29
To: Open Source Flash Mailing List
Subject: Re: [osflash] SCORM multi api wrapper

 

Hi Lieven,

 

A couple of things:

 

1) I'm assuming that you understand that "_DataModelElement_" is not
really a valid parameter.  You need to pass something akin to
"cmi.score.raw"

 

2) I'm also assuming you're attempting to run it in a hosted LMS, and
not in the Conformance Test Suite with Flash player 8 or later.

 

The answers to those assumptions are probably irrelevant, unfortunately.
I was able to get decent results from the 1.2/2004 template in both
versions (at the time, 11/2005) of the Run Time Environment.  However,
I've had mixed reports in the field that there were errors (mostly with
getting the API) which I've not had time to resolve in the past couple
of months. 

 

So I apologize for not keeping it up to date, and will try to document
more of what's working (or not) on flashforlearning.com.

 

my apologies,

 

-a-

 

On 10/25/06, Lieven Cardoen <Lieven.Cardoen at indiegroup.be> wrote: 

Guys, sorry for posting on both mailing lists, but I don't know where it
belongs.

 

With the SCORM Version 1.2/2004 Template for Flash , if you do following
: 

 

proxy.call( "apiCall", "getValue", "_DataModelElement_" ); 

 

how can you access the value????

 

proxy.call doesn't return anything, and if you do following : 

 

var value:String = proxy.call( "apiCall", "getValue",
"_DataModelElement_" ); 

 

 

Mtasc gives an error, because proxy.call has no return value.

 

Lieven Cardoen

 

Ps : I've searched for this on flashforlearning.com
<http://flashforlearning.com/> , on adobe sit, google, ... and found
nothing

 

Lieven Cardoen
Application developer

indie group
interactive digital experience 
engelse wandeling 2 k18 
b8500 kortrijk 

 

 


_______________________________________________
osflash mailing list
osflash at osflash.org
http://osflash.org/mailman/listinfo/osflash_osflash.org 




-- 
-a-

Aaron E. Silvers
aaron.silvers at gmail.com
http://flashforlearning.com 
------------------------------------------ 
"Whoso would be a man must be a nonconformist." - Ralph Waldo Emerson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20061026/80b4e259/attachment.htm


More information about the osflash mailing list