[Xerte-dev] Re: SCORM GetValue/SetValue

Tom Reijnders reijnders at tor.nl
Thu Mar 28 12:43:33 GMT 2013


MainPreloader... I knew I had seen it somewhere ;-)

Op 28-3-2013 13:30, Julian Tenney schreef:
> The functions are defined in MainPreloader.swf
>
> You call _level0.get / setValue(), which does the ExternalInterface.call(jsfunctions) stuff. The initialise and quit are done automatically by the web page, so developers only have to worry about get / set values.
>
> What you suggest should be easy enough: add something to the FRAMEWORK.prototype functions to track stuff if tracking is turned on...
>
> J
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
> Sent: 28 March 2013 11:46
> To: For Xerte technical developers
> Subject: [Xerte-dev] SCORM GetValue/SetValue
>
> Julian,
>
> I know you can use _level0.GetValue and level0.SetValue in .rlmscripts, but how does that work? How and where is level0.SetValue defined and how does it know to call the javascript SetValue function.
>
> I would have expected a definition of SetValue somewhere in the engine that calls callJS(SetValue... or something similar, but I can't find anything in the Engine.
>
> What I want, is to change the FRAMEWORK.OpenPage and FRAMEWORK.ClosePage to track entry and exits of pages using scorm or tin can (or nothing, in that case iy would call some empty functions, like the  previewer is doing now for the scorm tracking.
>
> Tom
>
> --
> --
>
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196




More information about the Xerte-dev mailing list