How to Create Text Link Actionscript 3.0

This post about creating text links in flash. Text links are used as navigation buttons to a web address.
Here's the script of making text link:

     var tekslink: TeksField = new TextField ();
     tekslink.htmlText = "visit" <a href='http://nandanami.blogspot.com'> nandanami.blogspot.com </a>! ";
     addChild (tekslink);


If the writing of the above is correct, press Ctrl + Enter to see the results.

Share this

Related Posts

Previous
Next Post »