<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:Verdana
}
--></STYLE>

<META content="MSHTML 6.00.6000.16945" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV id=idOWAReplyText92741 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>what does</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial>inspect(textSnap[0]) give you?</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> Mon 21/12/2009 19:00<BR><B>To:</B> Xerte list<BR><B>Subject:</B> [Xerte] RE: Glossary type thing,get the word that was clicked on in string.<BR></FONT><BR></DIV>
<DIV><BR>I found an AS2 object, but can't quite get the info out of it.<BR><BR>textSnap = i65569.getTextSnapshot();<BR>debug(textSnap);<BR>debug(textSnap[0]);<BR><BR>Both the debugs give me [object Object]<BR><BR>Generic failure or my syntax is lacking?<BR><BR>Cheers,<BR>Dave<BR><BR><BR>
<HR id=stopSpelling>
From: d_b_burnett@hotmail.com<BR>To: <BR>Subject: Glossary type thing, get the word that was clicked on in string.<BR>Date: Mon, 21 Dec 2009 10:30:09 -0500<BR><BR>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
<BR>I found something called getCharIndexAtPoint(), but I think it is AS3.<BR>I can retrieve the mousex,y and the text obviously, but can't see a way to correlate the two.<BR><BR>Or am I missing the easy way?<BR><BR>
<HR>
Hotmail: Trusted email with powerful SPAM protection. <A href="http://clk.atdmt.com/GBL/go/177141665/direct/01/">Sign up now.</A> <BR>
<HR>
Hotmail: Trusted email with Microsoft&#8217;s powerful SPAM protection. <A href="http://clk.atdmt.com/GBL/go/177141664/direct/01/" target=_new>Sign up now.</A> </DIV></BODY></HTML>