<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<STYLE><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></STYLE>

<META content="MSHTML 6.00.6000.17080" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV id=idOWAReplyText43714 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>no, it splits it on spaces, so you end up with a bunch of&nbsp;words (the WORD class - you can then break apart WORDs into characters I grant you). MovieClips are then created, and textFields, and their text is set. I must be setting.text rather than .htmlText.There might be a good reason, or it might be an oversight - </FONT><FONT face=Arial>I'll play around and see whats going on,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial>J</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Dave Burnett<BR><B>Sent:</B> Sun 12/09/2010 17:39<BR><B>To:</B> Xerte list<BR><B>Subject:</B> RE: [Xerte] text entry interaction with different font colors<BR></FONT><BR></DIV>
<DIV>break apart will break it out as individual characters.<BR>So my guess is that your html text is also being broken into individual characters, so is no longer recognized as tags, it's just characters again and defaults to black.<BR><BR>You can set the text properties dynamically with code.<BR><BR>Dave<BR><BR><BR>
<HR id=stopSpelling>
Date: Sun, 12 Sep 2010 17:30:53 +0100<BR>Subject: [Xerte] text entry interaction with different font colors<BR>From: bfurtado@student.dei.uc.pt<BR>To: xerte@lists.nottingham.ac.uk<BR><BR>Hi,<BR>I'm probably not explaining well (sorry about my english). I need to make a programming exercise with a piece of java code to complete, and I would like to put text with different colors. I'm using HTML tags, like this:<BR><BR>&nbsp; &lt;font color="#0000FF"&gt;public static void&lt;/font&gt; &lt;b&gt;&lt;i&gt;main&lt;/i&gt;&lt;/b&gt;(String[] args) {<BR>&nbsp;&nbsp; &lt;font color="#999999"&gt;//declara um array de inteiros&lt;/font&gt;&nbsp; <BR>&nbsp;&nbsp; &lt;font color="#0000FF"&gt;int&lt;/font&gt;[] A = &lt;font color="#0000FF"&gt;new int&lt;/font&gt;[ |3| ];<BR><BR>It works fine in preview, but when I use the code to break the words apart ( <I style="COLOR: rgb(102,102,102); BACKGROUND-COLOR: rgb(255,255,255)">w = mainText.breakApart(3,7,false,false);</I> ), in preview HTML tags display as text. Is there another way to do this? Anyone can help?<BR style="BACKGROUND-COLOR: rgb(102,102,102)"><BR>Thanks a lot. And I'm sorry for the repeated e-mail.<BR><BR>Bárbara Furtado<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR><BR>
<DIV class=ecxgmail_quote>No dia 12 de Setembro de 2010 00:29, Bárbara Furtado <SPAN dir=ltr>&lt;<A href="mailto:bfurtado@student.dei.uc.pt">bfurtado@student.dei.uc.pt</A>&gt;</SPAN> escreveu:<BR>
<BLOCKQUOTE class=ecxgmail_quote style="PADDING-LEFT: 1ex">Hi,<BR>I have a text entry exercise (interaction), and I need to write text with different font colors. When I use &lt;font color="#000000"&gt; example &lt;/font&gt; in a simple text icon, it works. But when I break text apart with function myIcon.breakApart(...) to make the exercise, in preview all text colors disappear and shows all the &lt;font&gt; codes, like it was text.<BR>How can I solve this? I'm using Xerte desktop version.<BR><BR>Thanks,<BR><FONT color=#888888>Bárbara Furtado<BR></FONT></BLOCKQUOTE></DIV><BR><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>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. <BR><BR>_______________________________________________ Xerte mailing list Xerte@lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte 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. 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. </DIV></BODY></HTML>