<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="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<!--[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'>How do we set it up so all the icons can
match the area? (line 2)<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>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Also<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>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>myIcon.animate(myIcon.initX,
myIcon.initY,10,'linearTween'); - Is there a reference for this function
call? Can’t find it in the flash 8 docs…</span></font><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>
<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> 29 April 2008 15:22<br>
<b><span style='font-weight:bold'>To:</span></b> Xerte discussion list<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Xerte] Layering...</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=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>Set up a 'catch all' target area - a
target that covers the entire stage (or the entire area it is possible to
drop objects into);</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=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>Set it up so all your icons can macth
this area, leave them on drop and don't end the drag.</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=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>In the response, use
yourInteractionIcon.objectDropped to see which icon was just dropped, and then
animate it back to it's starting position.</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=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>You might need to store the starting
positions as properties of the icons (myIcon.initX = blah) to animate them back
- myIcon.animate(myIcon.initX, myIcon.initY,10,'linearTween');</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=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>Alternatively do it all with onPress /
onRelease events, where you have much finer control.</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=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>HTH,</span></font><o:p></o:p></p>
<blockquote style='margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>
<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> 29 April 2008 14:36<br>
<b><span style='font-weight:bold'>To:</span></b> 'Xerte discussion list'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Xerte] Layering...</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'>Thanks Julian, <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>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Also, is there a way to capture an event
when a target area icon fails to move a graphic to the correct position?<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>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>In other words I have an image that I want
to be dragged to a target area but if it is dragged anywhere else I want it to
be put back to its starting position (using animation preferably)<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>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>P<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> 29 April 2008 12:03<br>
<b><span style='font-weight:bold'>To:</span></b> Xerte discussion list<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Xerte] Layering...</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=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>Use iconID.swapDepths(otherIconID);
or iconID.swapDepths(depth) to switch the layers around.</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=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>So myEntryFrame.swapDepths(999); will
put your entry frame page above all other pages on the framework (which I think
is what you want)</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>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>J</span></font><o:p></o:p></p>
<blockquote style='margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>
<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> 29 April 2008 10:26<br>
<b><span style='font-weight:bold'>To:</span></b> 'Xerte discussion list'<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Xerte] Layering...</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'>Hi all, <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'>I have a custom .swf interface in my Xerte file which is
called from the “interface” icon. The problem being that it
overlaps everything else in the piece even though it was added first and
is at the top of the tree. Is there a way of “layering” or sending
icons back/forward?<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'>Thanks, <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>
</blockquote>
</blockquote>
</div>
</body>
</html>