<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<STYLE>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</STYLE>
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV id=idOWAReplyText34333 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>it ought to work as you describe. I have a similar situation in the pageTemplate.rlt file for handling narration on each page with one sound icon in the entry frame - you might check that out.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial>Before you do that, try setting the streaming property to 1 and see if that helps.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial>J</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Kent Chesnut<BR><B>Sent:</B> Sat 20/09/2008 15:51<BR><B>To:</B> xerte@lists.nottingham.ac.uk<BR><B>Subject:</B> [Xerte] Sound "wait" problem on web<BR></FONT><BR></DIV>
<DIV>Xerte Users,<BR>I have yet another newbie type question. Sorry to be a pain.<BR> <BR>I've put all my interactions within the entry frame of the project and just use the pages to set up text, sound file name, ... I have a sound icon in a perpetual interaction within the entry frame (the user pushes a button to initiate the sound) set up to play FileLocation + audiofilename. The Play and Wait properties are set. When a page is opened, the audiofilename is set (to something like 'phone1.mp3'). When the user clicks the button, a "playing" message is shown, the audio is played, and then the message is removed.<BR> <BR>This works fine within the development environment. When put on the web, however, control falls on through the sound icon and the "playing" message is only shown momentarily (even though the sound goes ahead and plays correctly). If the button is pressed again, the program acts as expected.<BR> <BR>My theory... the sound file is not loaded when the sound icon is activated, so the wait function doesn't work and control falls on through. A few seconds later, the sound file is completely loaded, so the sound icon works as expected. <BR> <BR>Does my theory sound correct?<BR>Is there a way to work around the problem? like preloading the sound file?<BR>Or is there a better way to handle this situation?<BR> <BR>Any advice you can provide would be appreciated.<BR> <BR>Have a great day,<BR>Kent<BR><BR>
<HR>
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. <A href="http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008" target=_new>Learn Now</A> </DIV></BODY></HTML>