<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)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>John,<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>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I haven&#8217;t messed about with this, but Actionscript does
have a <a
href="http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part4_ASLR2.html">setClipboard
method</a> that could potentially be useful to place text in the clipboard.
Some instructions for opening Notepad or some other editor, then pasting the
clipboard and saving the file locally might work for you. There is no
getClipboard method, though, for security reasons. You would need instructions
to open the saved text file, copy the contents, and paste them into a text
field in Xerte. <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>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Paul<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 style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

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

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
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>Patrick
Lockley<br>
<b>Sent:</b> Friday, August 07, 2009 2:22 AM<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Writing/reading text<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>Hi John,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>Xerte doesn&#8217;t directly have the ability to save a file, as
it&#8217;s flash based and as such relies on flash&#8217;s file handling
functions (i.e open only). However, you could write a server side script to
handle that for you.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>So that would work for you on a server, but it would not work for
using a CD. <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>There is an send and load event which can obtain XML / any other
data.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'><o:p>&nbsp;</o:p></span></p>

<div>

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

<p class=MsoNormal style='margin-left:.5in'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span 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>John Lannon<br>
<b>Sent:</b> 07 August 2009 10:08<br>
<b>To:</b> xerte@lists.nottingham.ac.uk<br>
<b>Subject:</b> [Xerte] Writing/reading text<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB><o:p>&nbsp;</o:p></span></p>

<div id=idOWAReplyText22405>

<div>

<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:black'>Hello all,</span><span
lang=EN-GB><o:p></o:p></span></p>

</div>

</div>

<div>

<div id=idOWAReplyText57354>

<div>

<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-size:
10.0pt;font-family:"Arial","sans-serif"'>I'm new to Xerte and to the
list&nbsp;but I've set up the standalone exe version, looked through the
examples, and created/published&nbsp;my own&nbsp;basic template-based learning
object.</span><span lang=EN-GB><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-size:
10.0pt;font-family:"Arial","sans-serif"'>My question is as follows: I want to
create an interactive online application where the user is presented with
questions (mostly text entry panels for large amounts of text); the user can
save their input at any time, and can reload them into the appropriate
panels&nbsp;when they re-start. I want to run the published project from a
server or CD and save the entered text locally on the user's PC.</span><span
lang=EN-GB><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-size:
10.0pt;font-family:"Arial","sans-serif"'>I presume I can write/read from an XML
file, but would welcome any advice or examples.</span><span lang=EN-GB><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-size:
10.0pt;font-family:"Arial","sans-serif"'>Thanks in advance,</span><span
lang=EN-GB><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>&nbsp;<o:p></o:p></span></p>

</div>

</div>

<div id=idSignature46057>

<div>

<div>

<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:black'>John Lannon<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:black'>Systems Developer [Human
Rights Impact Resource Centre] <strong><span style='font-family:"Arial","sans-serif"'>Aim
for human rights</span></strong><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:black'>Email:
j.lannon[at]aimforhumanrights[dot]org<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

</div>

</div>

</div>

</div>

</div>

</div>

</body>

</html>