header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Pradeep
Points:0
Posts:0

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.






1
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.

2
pkm
Points: 0
Posts:0
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.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 0+1 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions