<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>That&#8217;s right, but you ought to be able to see how fileLocation
is being passed in, so do the same thing.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br>
<b>Sent:</b> 09 November 2010 15:04<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> RE: [Xerte] templatePath problem in Page Templates with Desktop
Xerte 2<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>
<br>
Don't know how your wrapper works, but I'm guessing you'll have to get that var
into the wrapper and pass it down to the embedded .rlo swf<br>
<br>
<o:p></o:p></span></p>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>

<hr size=2 width="100%" align=center id=stopSpelling>

</span></div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:
maryann@moberg.com<br>
Date: Tue, 9 Nov 2010 08:19:41 -0500<br>
Subject: Re: [Xerte] templatePath problem in Page Templates with Desktop Xerte
2<br>
To: xerte@lists.nottingham.ac.uk<br>
<br>
Thanks, Dave &amp; Julian, we'll play around and see what happens.<br>
<br>
ma<o:p></o:p></span></p>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>On Tue, Nov 9, 2010 at 5:54 AM, Julian
Tenney &lt;<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>&gt;
wrote:<o:p></o:p></span></p>

<div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'>Right at the top of the engine
code is this:</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'>&nbsp;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'>var FileLocation =
_level0.FileLocation;</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'>var templatePath =
_level0.templatePath;</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'>if (templatePath ==
undefined){</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
templatePath = FileLocation;</span><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'>}</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'>&nbsp;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'>i.e. if templatePath is passed
in from the html page (as below), it uses that path, otherwise it should be the
same path as fileLocation.</span><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'>&nbsp;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'>Try assigning a flashvar
templatePath in your javascript and passing it into the movie.</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'>&nbsp;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<div>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color -moz-use-text-color'>

<p class=MsoNormal style='margin-left:72.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a
href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a>
[mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Dave Burnett<br>
<b>Sent:</b> 08 November 2010 22:11<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> RE: [Xerte] templatePath problem in Page Templates with Desktop
Xerte 2</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

</div>

</div>

<div>

<div>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:72.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>
This is all highly un-researched, just indirect references I found in the
archives:<br>
<br>
<br>
&quot;You need to distinquish between template path and FileLocation when
running in toolkits, as the two locations are different. <br>
FileLocation is the folder where the xml file is; templatePath is the folder
where the rlt is. <br>
Locally, the two are the same.&quot;<br>
<br>
I did a search in a local copy of XOT and found this in rloObject.js:<br>
<br>
var templatePath = rloFile.substr(0, rloFile.lastIndexOf('/') + 1);<br>
================<br>
<br>
I'm guessing .rloFile refers to the domain path to the .rlo on the server.<br>
<br>
So my shot in the dark is you have to make sure templatePath is pointing to the
folder where your .rlt is located (not the .rlo), as it looks like it defaults
to above).<br>
<br>
<br>
Dave<br>
<br>
<br>
<o:p></o:p></span></p>

<div style='margin-left:36.0pt'>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>

<hr size=2 width="100%" align=center>

</span></div>

</div>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From: <a href="mailto:maryann@moberg.com">maryann@moberg.com</a><br>
Date: Mon, 8 Nov 2010 16:36:10 -0500<br>
To: <a href="mailto:xerte@lists.nottingham.ac.uk">xerte@lists.nottingham.ac.uk</a><br>
Subject: [Xerte] templatePath problem in Page Templates with Desktop Xerte 2<br>
<br>
We've been using the page wizards to create learning objects that we then load
into a flash wrapper application that creates a menu of them so that the user
can select them as desired.&nbsp; <br>
<br>
Everything works fine with the wizard created pages when run directly in the
browser.&nbsp; <br>
<br>
All xerte pages that are created by hand rather than by page templates work
fine when run in our wrapper and also when published and run on their own in a
browser.&nbsp; <br>
<br>
The problem comes when we run an rlo file containing wizard-created pages from
our flash wrapper - it can't seem to resolve &quot;templatePath&quot; in order
to find the panel.swf that I reference. <br>
<br>
We can't find where templatePath is being assigned.&nbsp; Looked around on the
wiki page the source for xerte.swf but couldn't find it.<br>
<br>
&nbsp;<br>
Here's the line from the one of the page template rlm files:<br>
<span style='color:#3333FF'>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;DIS
tabIndex=&quot;-1&quot; id=&quot;panel&quot; name=&quot;panel&quot;
x=&quot;-300&quot; y=&quot;20&quot; type=&quot;ext&quot; url=&quot;templatePath
+ 'common/whitePanel.swf'&quot;&gt;&lt;![CDATA[]]&gt;&lt;/DIS&gt;<br>
</span><br>
<br>
Tried substituting &quot;fileLocation&quot; for it but that didn't work.&nbsp; <br>
<br>
<br>
What did work is just removing &quot;templatePath&quot;&nbsp; from the url like
this:<br>
<span style='color:#3333FF'>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;DIS
tabIndex=&quot;-1&quot; id=&quot;panel&quot; name=&quot;panel&quot;
x=&quot;-300&quot; y=&quot;20&quot; type=&quot;ext&quot;
url=&quot;'common/whitePanel.swf'&quot;&gt;&lt;![CDATA[]]&gt;&lt;/DIS&gt;<br>
</span><br>
<br>
Here's how we're loading the rlo file in our flash wrapper:<br>
<span style='color:#3333FF'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
this._parent.attachMovie('Xerte', 'myRLO', 0).init('DABB.rlo', 230, 80, 1020,
640);</span><br>
<br>
<br>
In short, we've figured out a way to edit the rlo files so that they work in
our wrapper but then they don't work outside of it.&nbsp; <br>
<br>
Hoping there's a way to get the same file to work in both situations.<br>
<br>
Thanks!!<br>
ma<br>
<br>
<br>
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. <br>
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. <br>
<br>
_______________________________________________ Xerte mailing list <a
href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a> <a
href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a>
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. <o:p></o:p></span></p>

</div>

</div>

</div>

</div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>
_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
<br>
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. &nbsp; Please do not use,
copy or disclose the information contained in this message or in any
attachment. &nbsp;Any views or opinions expressed by the author of this email
do not necessarily reflect the views of the University of Nottingham.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
<o:p></o:p></span></p>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'><br>
<br>
_______________________________________________ Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte 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. <o:p></o:p></span></p>

</div>

</body>

</html>