<div dir="ltr">Hi Jonathan,<div><br></div><div>Thank you for sending me the narration test to try out - I can confirm that it works as expected when tested. But I am unable to re-create correct narration on my desktop............</div>
<div><br></div><div>I think my problem may be a version thing because the script that you mentioned on the getPageID which relates to narration:</div><div><br></div><div><i>if (pageIcon.templateData.learningObject[0].dialog[0].narration != undefined){</i></div>
<div><i><br></i></div><div><i> narration = pageIcon.templateData.learningObject[0].dialog[0].narration;</i></div><div><i><br></i></div><div><i> rootIcon.broadcast('showAudio');</i></div><div><i> nar.play();</i></div>
<div><i>}</i></div><div><br></div><div>doesn't appear in the getPageID script on the learning object I create on my desktop. I confirm that I downloaded the latest version of wizards which you posted to the Wiki on 19/4/11. This is the script on my getPageID:</div>
<div><br></div><div><div><i>pageIcon = icon.parentNode.clip();</i></div><div><i><br></i></div><div><i>//myXML = new XML(extXML.firstChild.childNodes[rootIcon.getPageIndex() - pgOffset]);</i></div><div><i><br></i></div><div>
<i>//pageIcon.templateData = myXML.toObject();</i></div><div><i><br></i></div><div><i>pageIcon.templateData = pageIcon.extXML.toObject();</i></div><div><i><br></i></div><div><i><br></i></div><div><i><br></i></div><div><i>//rootIcon.setTitleText(templateData.learningObject[0].name);</i></div>
<div><i><br></i></div><div><i><br></i></div><div><i><br></i></div><div><i><br></i></div><div><i><br></i></div><div><i>ts = STYLES.inputSize;</i></div><div><i><br></i></div><div><i><br></i></div><div><i><br></i></div><div>
<i>//icon.parentNode.getChildByName('passage').attributes.textSize = ts;</i></div><div><i><br></i></div><div><i>//icon.parentNode.getChildByName('lbls').attributes.textSize = ts;</i></div><div><i><br></i></div>
<div><i><br></i></div><div><i><br></i></div><div><i>panelWidth = pageIcon.templateData.learningObject[0].gapFill[0].panelWidth;</i></div><div><i><br></i></div><div><i>if (panelWidth == "Small"){</i></div><div><i><br>
</i></div><div><i> panelW = 300;</i></div><div><i><br></i></div><div><i> textW = 440;</i></div><div><i><br></i></div><div><i>} else if (panelWidth == "Medium"){</i></div><div><i><br></i></div><div><i> panelW = 450;</i></div>
<div><i><br></i></div><div><i> textW = 290;</i></div><div><i><br></i></div><div><i>} else if (panelWidth == "Large"){</i></div><div><i><br></i></div><div><i> panelW = 600;</i></div><div><i><br></i></div><div><i> textW = 150;</i></div>
<div><i><br></i></div><div><i>} else {</i></div><div><i><br></i></div><div><i> panelW = 760;</i></div><div><i><br></i></div><div><i> textW = 0;</i></div><div><i><br></i></div><div><i>}</i></div></div><div><br></div><div>
If I add the script pertaining to narration to my script, the narration still doesn't show up. Where am I going wrong? </div><div><br></div><div>Many thanks in advance for your help.</div><div><br></div><div>Deborah</div>
</div>