<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD><TITLE>RE: [Xerte] Scorm 1.2 packaged with Xerte 1.9 doesn´t comunicate with LMS</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left> </DIV>
<DIV></DIV>
<DIV dir=ltr align=left><FONT face=Verdana><FONT color=#0000ff><FONT
size=2><SPAN class=826280710-07022008>Possibly, <SPAN
class=745001110-07022008> </SPAN></SPAN></FONT></FONT></FONT><FONT
face=Verdana><FONT color=#0000ff><FONT size=2><FONT size=+0><FONT size=+0><SPAN
class=826280710-07022008><FONT size=+0><FONT size=+0>Or there is a different
security model when you run from a http:// rather than a file://<SPAN
class=745001110-07022008> (which may be what was meant
originally).</SPAN></FONT></FONT></SPAN></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana><FONT color=#0000ff><FONT
size=2><FONT size=+0><FONT size=+0><SPAN class=826280710-07022008><FONT
size=+0><FONT size=+0><SPAN
class=745001110-07022008></SPAN></FONT></FONT></SPAN></FONT></FONT></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=+0><FONT size=+0><SPAN
class=826280710-07022008><FONT face=Verdana><FONT color=#0000ff><FONT
size=2>Quoting the adobe site<SPAN class=745001110-07022008> (sorry
outlook sent for no reason) - <A
href="http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002200.html">http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002200.html</A> -
looks like it may be the
sandbox?</SPAN></FONT></FONT></FONT></SPAN></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT size=+0><FONT size=+0><SPAN
class=826280710-07022008><FONT face=Verdana><FONT color=#0000ff><FONT
size=2><SPAN
class=745001110-07022008></SPAN></FONT></FONT></FONT></SPAN></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=+0><FONT size=+0><SPAN
class=826280710-07022008><FONT face=Verdana><FONT color=#0000ff><FONT
size=2><SPAN class=745001110-07022008><FONT size=3><FONT color=#000000><FONT
face="Times New Roman"> <STRONG>shimi2 said on Sep 20, 2005 at 1:16 PM :
</STRONG></FONT></FONT></FONT>
<BLOCKQUOTE>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.<BR><BR>Also, from the fscommand() docs:<BR>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.</BLOCKQUOTE><STRONG>CheloXL said on Sep
29, 2005 at 1:09 PM : </STRONG>
<BLOCKQUOTE>ExternalInterface doesn´t work on created flash objects (either
using the DOM or innerHTML/outerHTML) in Internet Explorer.<BR>Both
ExternalInterface.available and ExternalInterface.addCallback return true, but
if you try to make a call you will get an error.<BR>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) </SPAN></FONT></FONT></FONT></SPAN></FONT></FONT></BLOCKQUOTE></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV dir=ltr align=left><SPAN class=826280710-07022008></SPAN> </DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Paul
Swanson<BR><B>Sent:</B> 06 February 2008 23:58<BR><B>To:</B> Xerte
discussion list<BR><B>Subject:</B> RE: [Xerte] Scorm 1.2 packaged with Xerte
1.9 doesn´t comunicate with LMS<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=137345223-06022008><FONT face=Verdana
color=#0000ff size=2>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?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=137345223-06022008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=137345223-06022008><FONT face=Verdana
color=#0000ff
size=2>Paul</FONT></SPAN></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>