11/6/2010 4:10:55 AM
Title:
Making HyperLink Clickable in Text Area in Flex
I just need to make the hyperlinks clickable in text area. User will enter only the plain URL. What do we need to do so that when we display the content of text area then the all the link inside the text becomes clickable?
Do I need to parse and form my own html? or it can be done automatically? I am using action script3.0
I had look into
http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/
But It does not help much.. It does not know how we will form the html when user enter plain input in text area. I would appreciate if you there is simple code to do this.
Shawn
Points: 680
Posts:0
11/6/2010 4:31:46 AM
there is no such automated function in actionscript to create hyperlinks automatically. You must write your own text parser and generate the html text with hyperlinks in the text.
11/6/2010 9:00:13 AM
It is pity that in flex, we do not get such a basic functionality and also one can not get easily such kind of properly tested code on google. Perhaps I will write it myself and make it available to ppl.