Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ktu
Sent: August 31, 2010 10:15 am
To: Flash Coders List
Subject: Re: [Flashcoders] Link text indexes in a TextField
so whats your solution?
On Tue, Aug 31, 2010 at 9:42 AM
routi
> Sent: August 31, 2010 05:37 am
> To: Flash Coders List
> Subject: Re: [Flashcoders] Link text indexes in a TextField
>
>
> I have textfield link detection in this class -
>
>
>
> https://code.google.com/p/kurstcode/source/browse/trunk/libs/com/kurst/utils
>
Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karim
Beyrouti
Sent: August 31, 2010 05:37 am
To: Flash Coders List
Subject: Re: [Flashcoders] Link text indexes in a TextField
I have textfield link detection in this class
Good morning.
I came up with a solution, it's not elegant but it works:
1) Break up the HTML into an array of chunks of code based on where the
links occour. So this:
[p]Lorem ipsum [a href="event:block1"]dolor sit[/a] amet.[/p]
Gets turned into this:
blocks[0] = [p]Lorem ipsum
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan
> Mynarcik
> Sent: August 30, 2010 14:35 pm
> To: Flash Coders List
> Subject: Re: [Flashcoders] Link text indexes in a
W www.delvinia.com
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan
Mynarcik
Sent: August 30, 2010 14:35 pm
To: Flash Coders List
Subject: Re: [Flashcoders] Link text indexes in a TextField
You will hav
: August 30, 2010 14:15 pm
To: Flash Coders List
Subject: Re: [Flashcoders] Link text indexes in a TextField
Andrew Murphy skriver:
> Hi. :)
>
> Does anyone know of a way to get the beginning and ending index of a link
> within a TextField?
>
> I want the indexes of the beginning an
Link text indexes in a TextField
This might give you some ideas on accomplishing what you needs to do -use
split().join():
http://troyworks.com/blog/2008/03/14/flash-textfield-actionscript-hyperlink-
in-as30/
_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T 952 346 6610
C 612 377 2272
You will have to cull out what you want:
**Psuedo Code**
var stuff:String = "[a href="event:block1"]dolor sit[/a]";
stuff.substr(stuff.indexOf("[a href="event:block1"]"), stuff.indexOf("[/a]"));
Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com
On Mon, Aug 30, 2010 at 1:46 P
This might give you some ideas on accomplishing what you needs to do -use
split().join():
http://troyworks.com/blog/2008/03/14/flash-textfield-actionscript-hyperlink-in-as30/
_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T 952 346 6610
C 612 377 2272
Weber Shandwick
Advocacy starts he
Andrew Murphy skriver:
Hi. :)
Does anyone know of a way to get the beginning and ending index of a link
within a TextField?
I want the indexes of the beginning and ending of the text that makes up the
link. For example if I pass the following HTML text into the TextField:
[p]Lorem ipsum
11 matches
Mail list logo