Adding Mail Links : HtmlText : TextField Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » TextField » HtmlText »

 

Adding Mail Links


 

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

        tArticle.multiline = true;
        tArticle.wordWrap = true;
        tArticle.htmlText = <a href=mailto:joey@navioo.com>send email</a>; 
        addChild(tArticle);
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo TextField
» HtmlText