<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:st1="urn:schemas-microsoft-com:office:smarttags" 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 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@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:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Yeah no doubt that will work fine, ive
done it elsewhere in this piece but I’m writing this code into my custom
interface in flash. All my other buttons with code work fine on it. . . <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b><span style='font-weight:bold'>On
Behalf Of </span></b>Tenney Julian<br>
<b><span style='font-weight:bold'>Sent:</span></b> 04 June 2008 15:29<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Xerte
discussion list</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Xerte] Controlling
Xerte Sound Icon From an external SWF</span></font><span lang=EN-US><o:p></o:p></span></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Works for me. Build a simple file with a
sound, an interaction, a button and a script that says </span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>snd.reset();</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>run the piece, the sound plays, hit the
button, the sound stops?</span></font><o:p></o:p></p>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabIndex=-1>
</span></font></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
lang=EN-US style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b><span style='font-weight:bold'>On
Behalf Of </span></b>Paul Beckwith, AC&S Ltd<br>
<b><span style='font-weight:bold'>Sent:</span></b> 04 June 2008 15:20<br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">Xerte
discussion list</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Xerte] Controlling
Xerte Sound Icon From an external SWF</span></font><span lang=EN-US><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Computer says no…<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabIndex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b><span style='font-weight:bold'>On
Behalf Of </span></b>Tenney Julian<br>
<b><span style='font-weight:bold'>Sent:</span></b> 04 June 2008 15:11<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Xerte
discussion list</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Xerte] Controlling
Xerte Sound Icon From an external SWF</span></font><span lang=EN-US><o:p></o:p></span></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>use reset();</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabIndex=-1>
</span></font></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
lang=EN-US style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b><span style='font-weight:bold'>On
Behalf Of </span></b>Paul Beckwith, AC&S Ltd<br>
<b><span style='font-weight:bold'>Sent:</span></b> 04 June 2008 15:06<br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">Xerte
discussion list</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Xerte] Controlling Xerte
Sound Icon From an external SWF</span></font><span lang=EN-US><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Can anybody tell me why this isn’t working when used
with a button in flash?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>on(release){<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
_level0.engine.rootIcon[currentPage].PageSound.stop();<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>PageSound is the name of my sound icon in Xerte.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=600
style='width:450.0pt' height=80>
<tr>
<td style='padding:0cm 0cm 0cm 0cm'>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 align=right
width=600 style='width:450.0pt' height="100%">
<tr>
<td style='padding:0cm 0cm 0cm 0cm'>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 width=600
style='width:450.0pt;border:solid #666666 1.0pt'>
<tr height=1 style='height:.75pt'>
<td width="100%" height=1 bgcolor="#003366" style='width:100.0%;
border:none;background:#003366;padding:.75pt .75pt .75pt .75pt;
height:.75pt'>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0
width="100%" style='width:100.0%'>
<tr>
<td style='padding:.75pt .75pt .75pt 3.75pt'>
<p class=MsoNormal><font size=2 color=white face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:white'>Aerospace
Consulting & Services Ltd<o:p></o:p></span></font></p>
</td>
<td style='padding:.75pt 3.75pt .75pt .75pt'>
<p class=MsoNormal align=right style='text-align:right'><font size=1
color=white face=Verdana><span style='font-size:7.0pt;font-family:Verdana;
color:white'><a href="http://www.acns-gmbh.com/" target="_blank"><font
color=white><span style='color:white;text-decoration:none'>Engineering,
Training, Consultancy</span></font></a><o:p></o:p></span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=1 face="Times New Roman"><span
style='font-size:1.0pt'><o:p></o:p></span></font></p>
</td>
<td height=1 bgcolor="#003366" style='border:none;background:#003366;
padding:.75pt .75pt .75pt .75pt;height:.75pt'>
<p class=MsoNormal><font size=1 face="Times New Roman"><span
style='font-size:1.0pt'><o:p> </o:p></span></font></p>
</td>
</tr>
<tr>
<td colspan=2 style='border:none;padding:.75pt .75pt .75pt .75pt'>
<table class=MsoNormalTable border=0 cellpadding=0 align=right
width="100%" style='width:100.0%' height="100%">
<tr height=1 style='height:.75pt'>
<td height=1 valign=top style='padding:.75pt .75pt 3.0pt 3.0pt;
height:.75pt'>
<p class=MsoNormal><b><font size=1 color="#003366" face=Verdana><span
style='font-size:8.0pt;font-family:Verdana;color:#003366;font-weight:
bold'>Paul Beckwith</span></font></b><font size=1 color="#003366"
face=Verdana><span style='font-size:8.0pt;font-family:Verdana;
color:#003366'><br>
<i><span style='font-style:italic'>Multimedia Developer</span></i> <o:p></o:p></span></font></p>
</td>
<td height=1 valign=top style='padding:.75pt 3.0pt 3.0pt .75pt;
height:.75pt'>
<p class=MsoNormal align=right style='text-align:right'><b><font
size=1 color="#003366" face=Verdana><span style='font-size:8.0pt;
font-family:Verdana;color:#003366;font-weight:bold'>AC&S LTD</span></font></b><font
size=1 color="#003366" face=Verdana><span style='font-size:8.0pt;
font-family:Verdana;color:#003366'><br>
35A <st1:Street w:st="on"><st1:address w:st="on">Victoria Road East</st1:address></st1:Street><br>
Thornton-Cleveleys<br>
<st1:place w:st="on">Lancashire</st1:place><br>
FY5 5BU<br>
<st1:place w:st="on"><st1:country-region w:st="on">UK</st1:country-region></st1:place>
<o:p></o:p></span></font></p>
</td>
</tr>
<tr height=1 style='height:.75pt'>
<td height=1 valign=bottom style='padding:.75pt .75pt 3.0pt 3.0pt;
height:.75pt'>
<p class=MsoNormal><font size=1 color="#003366" face=Verdana><span
style='font-size:8.0pt;font-family:Verdana;color:#003366'><a
href="mailto:mark.tomlinson@acns-group.com" target="_blank"><font
color="#003366"><span style='color:#003366;text-decoration:none'>paul.beckwith@acns-group.com</span></font></a><br>
<a href="http://www.acns-group.com/" target="_blank"><font
color="#003366"><span style='color:#003366;text-decoration:none'>www.acns-group.com</span></font></a>
<o:p></o:p></span></font></p>
</td>
<td height=1 valign=bottom style='padding:.75pt 3.0pt 3.0pt .75pt;
height:.75pt'>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0
align=right>
<tr>
<td nowrap style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal align=right style='text-align:right'><font size=1
color="#003366" face=Verdana><span style='font-size:8.0pt;font-family:
Verdana;color:#003366'>tel: <br>
fax: : <o:p></o:p></span></font></p>
</td>
<td nowrap style='padding:.75pt .75pt .75pt 3.0pt'>
<p class=MsoNormal align=right style='text-align:right'><font size=1
color="#003366" face=Verdana><span style='font-size:8.0pt;font-family:
Verdana;color:#003366'><a
href="http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B44+1253+855+997&Email=mark.tomlinson@acns-group.com"
target="_blank"
title="Click to call. Cheap rates & no headset required!"><font
color="#003366"><span style='color:#003366;text-decoration:none'>+44
1253 855 997</span></font></a><br>
+44 870 762 6818<o:p></o:p></span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal align=right style='text-align:right'><font size=1
color="#003366" face=Verdana><span style='font-size:8.0pt;font-family:
Verdana;color:#003366'><o:p></o:p></span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p></o:p></span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=1 face="Times New Roman"><span
style='font-size:1.0pt'><o:p></o:p></span></font></p>
</td>
<td style='padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p></o:p></span></font></p>
</td>
</tr>
</table>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>