PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197
getLineText with HTML
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: getLineText with HTML

  1. #1
    Senior Member
    Join Date
    Sep 2002
    Posts
    160

    getLineText with HTML

    Hi, I am manipulating some textfields with getLineOffset and getLineText. The problem is these textfields need to be rendered as html, but both of those functions only return the index for the plain text. Is there any workaround for this? Thanks in advance!

  2. #2
    Senior Member
    Join Date
    Aug 2006
    Posts
    322

    HTML CSS Text with Links

    need some code hint of your structure

    marlopax
    Last edited by marlopax; 04-17-2010 at 04:56 PM.

  3. #3
    Senior Member
    Join Date
    Sep 2002
    Posts
    160
    Hey, marlopax. Maybe I wasn't clear. I am trying to use getLineOffset and getLineText with my textfield, but it only returns the index of plain text. For example if my textfield contains:
    Actionscript Code:
    <a href="mypage.com">Click here</a><br>The above was a link
    If I use getLineOffset to find the second line, it would return 10 (the length of "click here"). But I need it to return the index of the second line WITH the HTML tags. Any ideas?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center