Add a Hyperlink to Text with target : HtmlText : TextField Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » TextField » HtmlText »

 

Add a Hyperlink to Text with target


 

package {

  import flash.display.Sprite;
  import flash.text.TextField;
  public class Main extends Sprite {
    public function Main(  ) {
      var field:TextField = new TextField(  );

      field.htmlText = "<a href='http://www.navioo.com' target='blank'>Website</a>";

      addChild(field);
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo TextField
» HtmlText