Mega Code Archive

 
Categories / Flash ActionScript / TextField
 

Use HTML hyperlink in TextField

package{   import flash.display.Sprite;   import flash.text.*;   public class Main extends Sprite{     public function Main(){         var tContent:TextField = new TextField();         tContent.htmlText = "<a href='http://www.rntsoft.com' target='_blank'>www.rntsoft.com</a>";         addChild(tContent);     }   } }