About making hypertext links out of embedded media

To make a hypertext link out of an embedded image file, SWF file, or movie clip, enclose the <img> tag in an <a> tag:

textField_txt.htmlText = "Click the image to return home<a href='home.htm'><img src='home.jpg'></a>";

When the mouse pointer is over an image, SWF file, or movie clip that is enclosed by <a> tags, the mouse pointer turns into a "pointing hand" icon, the same as it does with standard hypertext links. Interactivity, such as mouse clicks and keypresses, does not register in SWF files and movie clips that are enclosed by <a> tags.

For information on embedding media, see About making hypertext links out of embedded media.