[Xerte] Scorm 1.2 packaged with Xerte 1.9 doesn´t comunicate with LMS

Lockley Patrick Patrick.Lockley at nottingham.ac.uk
Thu Feb 7 11:55:54 GMT 2008


 
Possibly,  Or there is a different security model when you run from a http:// rather than a file:// (which may be what was meant originally).
 
Quoting the adobe site  (sorry outlook sent for no reason) - http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002200.html - looks like it may be the sandbox?
 
 shimi2 said on Sep 20, 2005 at 1:16 PM : 

	The following info may help you. From the addCallBack() docs: A return value of false may also mean that the containing environment belongs to a security sandbox to which the calling code does not have access. You can work around this problem by setting an appropriate value for the allowScriptAccess OBJECT tag or EMBED tag in the HTML of the containing environment.
	
	Also, from the fscommand() docs:
	When allowScriptAccess is set to "never", a SWF file cannot access web page scripts. With Flash Player 7 and later, when allowScriptAccess is set to "always", a SWF file can always access web page scripts. When allowScriptAccess is set to "sameDomain", scripting is allowed only from SWF files that are in the same domain as the web page; scripting is always allowed with previous versions of Flash Player. If allowScriptAccess is not specified in an HTML page, the attribute is set by default to "sameDomain" for SWF files of version 8 and later, and to "always" for SWF files of version 7 and earlier.

CheloXL said on Sep 29, 2005 at 1:09 PM : 

	ExternalInterface doesn´t work on created flash objects (either using the DOM or innerHTML/outerHTML) in Internet Explorer.
	Both ExternalInterface.available and ExternalInterface.addCallback return true, but if you try to make a call you will get an error.
	Also, html_Flash_Object.function_name returns "undefined", while on a normal page it returns "function" (html_Flash_Object is the node that flash belongs to, and funcion_name is the name of the registered callback) 

	 


________________________________

		From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Swanson
		Sent: 06 February 2008 23:58
		To: Xerte discussion list
		Subject: RE: [Xerte] Scorm 1.2 packaged with Xerte 1.9 doesn´t comunicate with LMS
		
		
		I see the same behavior. If run from the file system (double-click index.html) I get no pop-up with 'null' in the box after I click the button. When running through a webserver, I get the pop-up with "hello world" after clicking the button, and the box has 'the function returned'. Looks like ExternalInterface requires a webserver?
		 
		Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20080207/0d6a8165/attachment.html


More information about the Xerte mailing list