Thank you! It did the trick!

On 6/7/07, Daniel Freiman <[EMAIL PROTECTED]> wrote:

I wouldn't parse the html, but instead I'd let the TextField handle it:

First, if you don't know how to access the TextField of a text control,
you can read up on it here<http://nondocs.blogspot.com/2007/05/faqtext.html>
.
Second, use TextField.replaceText() to alter the text property.  This will
keep the text formating of the rest of the text in place.  (I think the new
text should be in the format of TextField.defaultTextFormat .)

I think that should accomplish what you want.

Dan Freiman
nondocs <http://nondocs.blogspot.com>

On 6/7/07, Hrundik < [EMAIL PROTECTED]> wrote:
>
> The real problem is that i work with .getCharBoundaries and this method
> needs char index. And i can't get real char index by processing html, not
> plain text
>
>
> On 6/7/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
> >
> > On Thursday 07 Jun 2007, hrund1k wrote:
> > > I'm thinking on direct html parsing, but i can break html code that
> > > way, for example, with >:) smiley
> >
> > Only if you don't insert &gt;:) instead.
> >
> > --
> > Tom Chiverton
> > Helping to autoschediastically facilitate error-free design-patterns
> > on: http://thefalken.livejournal.com
> >
> > ****************************************************
> >
> > This email is sent for and on behalf of Halliwells LLP.
> >
> > Halliwells LLP is a limited liability partnership registered in
> > England and Wales under registered number OC307980 whose registered office
> > address is at St James's Court Brown Street Manchester M2 2JF.  A list of
> > members is available for inspection at the registered office. Any reference
> > to a partner in relation to Halliwells LLP means a member of Halliwells LLP.
> > Regulated by the Law Society.
> >
> > CONFIDENTIALITY
> >
> > This email is intended only for the use of the addressee named above
> > and may be confidential or legally privileged.  If you are not the addressee
> > you must not read it and must not use any information contained in nor copy
> > it nor inform any person other than Halliwells LLP or the addressee of its
> > existence or contents.  If you have received this email in error please
> > delete it and notify Halliwells LLP IT Department on 0870 365 8008.
> >
> > For more information about Halliwells LLP visit www.halliwells.com.
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
>
>
> --
> Best regards,
>   Hrundik                          mailto: [EMAIL PROTECTED]
>






--
Best regards,
 Hrundik                          mailto:[EMAIL PROTECTED]

Reply via email to