<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: Lucida Console;
}
@page WordSection1 {margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: "Times New Roman","serif"
}
SPAN.EmailStyle18 {
        FONT-WEIGHT: normal; COLOR: #1f497d; FONT-STYLE: normal; FONT-FAMILY: "Calibri","sans-serif"; TEXT-DECORATION: none
}
.MsoChpDefault {
        FONT-SIZE: 10pt
}
DIV.WordSection1 {
        
}
</style>
<meta content="MSHTML 6.00.6000.17080" name="GENERATOR">
<style id="owaTempEditStyle"></style><style title="owaParaStyle"><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body lang="EN-US" vlink="purple" link="blue" ocsi="x">
<div style="FONT-SIZE: 13px; COLOR: #000000; DIRECTION: ltr; FONT-FAMILY: Tahoma">
<div>it's already in there as a movieclip prototype for all icons...</div>
<div><font face="tahoma" size="2"></font> </div>
<div><font face="tahoma" size="2">drawCircle(); //see the help</font></div>
<div dir="ltr"><font face="Tahoma" color="#000000" size="2"></font> </div>
<div id="divRpF229618" style="DIRECTION: ltr">
<hr tabindex="-1">
<font face="Tahoma" color="#000000" size="2"><b>From:</b> xerte-bounces@lists.nottingham.ac.uk [xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Paul Swanson [Paul.Swanson@harlandfs.com]<br>
<b>Sent:</b> 27 October 2010 23:07<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] The Fellowship of the Ring<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Found this on the interwebs, seems to work:</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></span> </p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'">// draw circles in movie clip "it" centered at x,y</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'">// with radius r and color c in 0xffffff format</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'">function drawCircle(it,x,y,r,c){</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"> a=r*0.414213562;</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"> b=r*0.707106781;</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"></span> </p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"> with(eval(it)){</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"> lineStyle(4,c);</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"> moveTo(x+r,y);</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"> curveTo(x+r,y-a,x+b,y-b);</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"> curveTo(x+a,y-r,x,y-r);</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"> curveTo(x-a,y-r,x-b,y-b);</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"> curveTo(x-r,y-a,x-r,y);</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"> curveTo(x-r,y+a,x-b,y+b);</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"> curveTo(x-a,y+r,x,y+r);</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"> curveTo(x+a,y+r,x+b,y+b);</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"> curveTo(x+r,y+a,x+r,y);</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"> }</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'">}</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"></span> </p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'">// usage example: draws a red circle 100 pixels wide</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'">// centered at 100,100 in the myMovie movie clip</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'">drawCircle('myMovie',100,100,50,'0xff0000');</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Lucida Console'"></span> </p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">You just need to replace ‘myMovie’ with the id of a graphics icon.</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></span> </p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<div>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p class="MsoNormal"><b><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</span></b><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk]
<b>On Behalf Of </b>Dave Burnett<br>
<b>Sent:</b> Wednesday, October 27, 2010 2:48 PM<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> RE: [Xerte] The Fellowship of the Ring</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"><br>
I want to be able to see through it, like a ring.<br>
<br>
<br>
> From: Patrick.Lockley@nottingham.ac.uk<br>
> To: xerte@lists.nottingham.ac.uk<br>
> Date: Wed, 27 Oct 2010 22:34:44 +0100<br>
> Subject: RE: [Xerte] The Fellowship of the Ring<br>
> <br>
> You can draw it with lines or just draw a big circle and a smaller one inside?<br>
> ________________________________________<br>
> From: xerte-bounces@lists.nottingham.ac.uk [xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett@hotmail.com]<br>
> Sent: Wednesday, October 27, 2010 10:11 PM<br>
> To: Xerte list<br>
> Subject: [Xerte] The Fellowship of the Ring<br>
> <br>
> Can I draw a hollow circle, a.k.a. a ring?<br>
> <br>
> Dave<br>
> " I'm not just the founder of Prototype, I'm also a member."<br>
> _______________________________________________<br>
> Xerte mailing list<br>
> Xerte@lists.nottingham.ac.uk<br>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte<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.</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">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. </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">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.
</span></p>
</div>
</div>
</div>
</div>
</body>
</html>