<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (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]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ecxmsonormal, li.ecxmsonormal, div.ecxmsonormal
        {mso-style-name:ecxmsonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ecxmsochpdefault, li.ecxmsochpdefault, div.ecxmsochpdefault
        {mso-style-name:ecxmsochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ecxmsonormal1, li.ecxmsonormal1, div.ecxmsonormal1
        {mso-style-name:ecxmsonormal1;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
p.ecxmsochpdefault1, li.ecxmsochpdefault1, div.ecxmsochpdefault1
        {mso-style-name:ecxmsochpdefault1;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-style-name:msochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.ecxmsohyperlink1
        {mso-style-name:ecxmsohyperlink1;
        color:blue;
        text-decoration:underline;}
span.ecxmsohyperlinkfollowed1
        {mso-style-name:ecxmsohyperlinkfollowed1;
        color:purple;
        text-decoration:underline;}
span.ecxemailstyle181
        {mso-style-name:ecxemailstyle181;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.ecxemailstyle191
        {mso-style-name:ecxemailstyle191;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle201
        {mso-style-name:ecxemailstyle201;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle211
        {mso-style-name:ecxemailstyle211;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle221
        {mso-style-name:ecxemailstyle221;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle231
        {mso-style-name:ecxemailstyle231;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle241
        {mso-style-name:ecxemailstyle241;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle251
        {mso-style-name:ecxemailstyle251;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle261
        {mso-style-name:ecxemailstyle261;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle271
        {mso-style-name:ecxemailstyle271;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle281
        {mso-style-name:ecxemailstyle281;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle291
        {mso-style-name:ecxemailstyle291;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle301
        {mso-style-name:ecxemailstyle301;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle311
        {mso-style-name:ecxemailstyle311;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle321
        {mso-style-name:ecxemailstyle321;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.ecxemailstyle331
        {mso-style-name:ecxemailstyle331;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle58
        {mso-style-name:emailstyle58;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle59
        {mso-style-name:emailstyle59;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle60
        {mso-style-name:emailstyle60;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle61
        {mso-style-name:emailstyle61;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle45
        {mso-style-name:emailstyle45;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle46
        {mso-style-name:emailstyle46;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle47
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>iconID.clear() will remove the existing drawing; any subsequent
drawing is cumulative.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Johnathan
Kemp<br>
<b>Sent:</b> Tuesday, October 13, 2009 9:13 AM<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> [Xerte] Is it possible to identify and thus modify specific
shapesdrawn as a background to a text icon<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>I have a text icon (textID) </span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>I know that I can use</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>textID.beginFill(0xFFFFCC, 100);<br>
textID.lineStyle(1,0x000000,100);<br>
textID.drawRect(0,0,100,10,20);</span><o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>to draw a rectangular background,
giving me a rectangle that is much wider than it is high.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>but if I then do</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>textID.drawRect(0,0,10,100,20);</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>it does not replace the original
rectangle, it adds a further rectangle, higher than it is wide.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>What I want to be able to do is to
draw a background and then later change the colour or alpha setting of that background.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>An alternative would be to add or
remove a glow.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>So is there a way to either
address the original rectangle so that I can change its properties, or
alternatively delete or erase the rectangle so that I can redraw another one,
without deleting the text icon?</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Kind regards</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>Johnathan</span><o:p></o:p></p>

</div>

<p style='margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Johnathan
Kemp<br>
ICT Development Coordinator<br>
Connexions Staffordshire<br>
</span><a href="http://www.cxstaffs.co.uk/"><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>www.cxstaffs.co.uk</span></a><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>01785 355714</span><o:p></o:p></p>

<p style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-left:36.0pt'>&nbsp;<o:p></o:p></p>

</div>

<div>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p class=MsoNormal style='margin-left:36.0pt'>This email and any files transmitted
with it are confidential and are intended solely for the use of the
individual(s) or entity(s) to whom they are addressed. All messages are
monitored for virus, high risk files and inappropriate content. As a result
users should be aware that this mail maybe accessed, read and the right is
reserved to reject, return, remove attachments or delete if considered to be
inappropriate or unsuitable. Liability cannot be accepted for any loss or
damage arising from this email (or any attachments) or from scripts or any
virus transmitted. This communication represents the originator's personal
views and opinions, which do not necessarily reflect those of Connexions
Staffordshire. If you are not the original recipient or the person responsible
for delivering the email to the intended recipient, be advised that you have
received this email in error, and that any use, dissemination, forwarding,
printing, or copying of this email is strictly prohibited. If you received this
email in error, please immediately reply to the sender or notify
postmaster@cxstaffs.co.uk Connexions Staffordshire Limited is registered in
England No.4355170 Registered office: Foregate House, 70 Foregate Street,
Stafford, Staffordshire, ST16 2PX<o:p></o:p></p>

</div>

</div>

</body>

</html>