<div>Hello Deborah,<br></div><div><br></div><div>Highlights<br><br>Drag drop label highlight colour. There is an omission in the xml file for the Drag and Drop Label Page Wizard - the highlightColour property is missing. As a result it does not show as an option in the Page Wizard so it defaults to black. Not sure what happened there - I will fix this in the forthcoming page wizards update. In the mean time open the xml file for the Drag and Drop Label page (you will need to do this for each page you have created using this wizard) and add to the end of the properties the following<br>
<br>highlightColour="0xffff00"<br><br>e.g. <br> <learningObject><br> <dragDropLabel narration="FileLocation + 'media/acquire_Olfactory.mp3'" linkID="" text="Enter text for the page here" url="FileLocation + 'media/boggs.jpg'" align="Left" tip="Enter a tooltip for the image" highlightColour="0xffff00"><br>
<hotspot name="Ma" text="Description for the hotspot" feedback="Try Again" x="14" y="7" w="72" h="57" /><br> </dragDropLabel><br> </learningObject><br>
<br>Do this when Xerte is not running. If you lack an editor in which to do this you might like to try FlashDevelop a free download from FlashDevelop.org<br><br>When you reopen Xerte the page wizard should display the highlightColour property and you can use the colour picker to set it to what you want.<br>
<br>The reason your additions to the xml did not work is due to inconsistencies between the property names in the various page wizards. <br><br><br>Getting narration working with Page Wizards<br><br>1. Download the narrationHandler model from the Page Wizards page of the xerte wiki.<br>
2. Add an Entry Frame to the interface of your project, so that it appears as the first child of the interface.<br>3. Unzip the narrationHandlers.rlm model file from the downloaded zip file.<br>4. Do File / Insert Model in Xerte to import the narrationHandlers.rlm file into your xerte project and then move the narrationHandlers icon so that it is a child of the Entry Frame.<br>
<br>In your page's Wizard add the optional property "narration" from the optional properties menu and set its value by using the file selector button to locate an .mp3 file that will be your narration.<br><br>
When the page loads you should see a player bar, click this and the narration will play.<br><br>If you want the narration to play when the page loads then you could try this, it has worked on my brief testing on one Page Wizard, but with a bit of luck and fingers crossed it may well work for all of them.<br>
<br>1. Expand the page's icon structure in the project tree.<br>2. Select the script "getPageID"<br>3. Open the script property and locate the block of code that sets the narration, it will be similar to the following - except for the nar.play(); bit and the page name referenced. </div>
<div><br></div><div>Just add the nar.play(); line and narration should happen automatically when the page is opened.<br><br>if (pageIcon.templateData.learningObject[0].dragDropLabel[0].narration != undefined){<br> narration = pageIcon.templateData.learningObject[0].dragDropLabel[0].narration;<br>
rootIcon.broadcast('showAudio');<br> nar.play(); // add this line<br>}<br></div><div><br></div><div>Kind regards</div><div><br></div><div>Johnathan</div><br><div class="gmail_quote">On 7 March 2011 10:25, Deborah Delin <span dir="ltr"><<a href="mailto:admin@strivney.com">admin@strivney.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr"><div dir="ltr"><div style="text-align:-webkit-auto"><font style="font-family:verdana, sans-serif" color="#000066">Hi Jonathan,</font></div>
<div style="text-align:-webkit-auto"><font style="font-family:verdana, sans-serif" color="#000066"><br>
</font></div><div style="text-align:-webkit-auto"><font color="#000066"><font style="font-family:verdana, sans-serif">Hope it's OK if I ask about two issues in one post.</font></font></div>
<div style="text-align:-webkit-auto"><font color="#333399" style="font-family:verdana, sans-serif"><br></font></div><div style="text-align:-webkit-auto"><font style="font-family:verdana, sans-serif"><font color="#000066">1. </font><b><font color="#000066">Highlight Colour</font><font color="#333399"> : </font></b></font> <font color="#000066" face="verdana, sans-serif">In Drag Drop Label<b> </b>the highlight line for the hot spots is black and rather hard to see on my colourful image.<b> </b> In Hotspot Image Sound the line is yellow and seems to be defined by </font><font style="font-family:verdana, sans-serif"><font color="#000066"> </font><b><font color="#000066">highlight="false" hicol="0xFFFF00"</font></b></font> <font color="#000066">in the .xml file</font>. <span style="color:rgb(0, 0, 102);font-family:verdana, sans-serif">But I can't find any reference to this in either the .xml or the .xwd file for Drag Drop Label and if I add the above snippet to the .xml file nothing changes. </span></div>
<div style="text-align:-webkit-auto"><span style="color:rgb(0, 0, 102);font-family:verdana, sans-serif"><br></span></div><div style="text-align:-webkit-auto"><span style="color:rgb(0, 0, 102);font-family:verdana, sans-serif">2. <b>Narration: </b>The issue I mentioned earlier with the narration not showing up on the first page in the Templates does't seem to be a problem with the Page Wizards. But I would like the narration to play automatically when the page loads, as it does with the Templates. I tried adding <b>autostart="true"</b> in various places but, as you will have realised, my modifying skills still need quite a lot of practise!</span></div>
<div style="text-align:-webkit-auto"><span style="color:rgb(0, 0, 102);font-family:verdana, sans-serif"><br></span></div><div style="text-align:-webkit-auto"><span style="color:rgb(0, 0, 102);font-family:verdana, sans-serif">Please could you advise. Thanks so much in advance.</span></div>
<div style="text-align:-webkit-auto"><span style="color:rgb(0, 0, 102);font-family:verdana, sans-serif"><br></span></div><div style="text-align:-webkit-auto"><span style="color:rgb(0, 0, 102);font-family:verdana, sans-serif">Deborah</span></div>
</div><br>
</div>
<br>
<p>
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.
</p>
<p>
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.
</p>
<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. 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>
<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>
<br></blockquote></div><br>