<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div><br></div><div>I'm duplicating and then setting properties on some text icons.</div><div><br></div><div>The icons have a y property of _ytile+25.</div><div>Works as expected when there is simple text set in the node.</div><div><br></div><div>But if I add an image to that text:</div><div><span style="font-size: 10pt; ">icon.nextSibling.childNodes[0].childNodes[i].firstChild.nodeValue = '<img src="common/lucio.jpg"/><b>' + colone_array[i]+ '</b>';</span></div><div><br></div><div>it no longer tiles correctly. They overlap as if the plain text is still being used as the _ytile registration point.</div><div><br></div><div>The odd thing is that following the setup of those icons, I colour the text background:</div><div>icon.parentNode.childNodes[i].clip().txt.backgroundColor= 0xFFF8C6;</div><div><br></div><div>It sets up correctly. e.g. it is correctly seeing the graphic as part of the .txt object and colours the area holding both text and image. </div><div><br></div><div>So _ytile is not seeing the y extent of the object but clip() is?</div><div><br></div><div>Dave</div><div> </div>                                           </div></body>
</html>