-
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!
-
HTML CSS Text with Links
need some code hint of your structure
marlopax
Last edited by marlopax; 04-17-2010 at 04:56 PM.
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|