<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 14 (filtered medium)"><style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
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:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle23
{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:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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-CA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D;mso-fareast-language:EN-CA'>Hello Julian:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>On browser ‘close’ </span><span style='color:#1F497D'>I was trying to write a cookie</span><span style='color:#1F497D'> to the hard drive which contains an array of the menu items the user has done</span><span style='color:#1F497D'>, etc.. But I</span><span style='color:#1F497D'> believe there is a function in</span><span style='color:#1F497D'> Flash where the program should, in theory, write a cookie on shutdown</span><span style='color:#1F497D'>, possibly that will work.</span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Question on the desktop xerte ‘Publish’ feature. Is there a way to change where it publishes the files? The helpfile shows C:\Documents and Settings but I cannot access that directory without resetting permissions. Is there a path somewhere I can change to make it publish to a more friendly location?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>BTW I really like the desktop version in spite of my whining and questions….hate to see it go….hoping some of it may someday show up in toolkits (like framework icons!).<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>RonM2</span><span style='color:#1F497D'> : - )</span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-CA'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-CA'> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Julian Tenney<br><b>Sent:</b> Friday, January 17, 2014 12:13 AM<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: desktop xerte js syntax to call swf function<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-GB style='color:#1F497D'>What are you trying to do? Intuitively, this seems a long winded way of achieving it…<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ZH-CN'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ZH-CN'> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>KnowledgeWare<br><b>Sent:</b> 17 January 2014 00:00<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] desktop xerte js syntax to call swf function<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal>Can anyone see anything wrong with this… this is in the index.htm page that loads my RLO. I’m loading a swf file in the RLO that calls the ‘flashInititialized’ function below. The function runs, because if I remove the comments around the alert(‘xxxxx’) that will display.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><script type="text/javascript" language="JavaScript"><o:p></o:p></p><p class=MsoNormal>myRLO = new rloObject('975','731','ron_acoustic.rlo');<o:p></o:p></p><p class=MsoNormal></script><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> <script type="text/javascript"><o:p></o:p></p><p class=MsoNormal> // called by our action script after initialization<o:p></o:p></p><p class=MsoNormal> function flashInitialized()<o:p></o:p></p><p class=MsoNormal> { <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> //alert('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); THIS RUNS WHEN COMMENT REMOVED<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> // get flash object<o:p></o:p></p><p class=MsoNormal> //flash = isInternetExplorer ? document.all.myRLO.newMenu : document.myRLO.newMenu;<o:p></o:p></p><p class=MsoNormal> flash = isInternetExplorer ? document.all.myRLO.newMenu : document.myRLO.newMenu; <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='background:yellow;mso-highlight:yellow'>WHAT SYNTAX SHOULD I BE USING HERE TO CALL A FUNCTION IN THE SWF LOADED BY THE RLO? NONE OF THESE WILL RUN….</span><o:p></o:p></p><p class=MsoNormal> // call action script function<o:p></o:p></p><p class=MsoNormal> <span style='background:yellow;mso-highlight:yellow'>flash.setText('Hello from javascript via xerte RLO');<o:p></o:p></span></p><p class=MsoNormal><span style='background:yellow;mso-highlight:yellow'> //myRLO.newMenu.setText('Hello from javascript via xerte RLO');<o:p></o:p></span></p><p class=MsoNormal><span style='background:yellow;mso-highlight:yellow'> //_level0.engine.newMenu.setText('Hello from javascript via xerte RLO');</span><o:p></o:p></p><p class=MsoNormal> }<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> </script><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-CA'><o:p> </o:p></span></p><p><span lang=EN-GB>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.<o:p></o:p></span></p><p><span lang=EN-GB>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><p class=MsoNormal><span lang=EN-GB style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-CA'><o:p> </o:p></span></p></div></body></html>