# Creating HTML Links in AS3

**URL:** <https://forum.kirupa.com/t/creating-html-links-in-as3/276442>\
**Category:** flash\
**Created:** [November 27, 2008, 12:55pm UTC](https://forum.kirupa.com/t/creating-html-links-in-as3/276442 "2008-11-27T12:55:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ricky55](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Post date:** [November 27, 2008, 12:55pm UTC](https://forum.kirupa.com/t/creating-html-links-in-as3/276442/1 "2008-11-27T12:55:24Z")

</div>

Hi

I have this example here:  
[http://www.qwertypcs.co.uk/as3test2.html](http://www.qwertypcs.co.uk/as3test2.html)

This is using Thickbox, and this the code I am using in Flash:

```auto

eg1Mc.addEventListener(MouseEvent.CLICK, onClick);

import flash.external.ExternalInterface;

function onClick(event:MouseEvent):void
{
	 ExternalInterface.call("tb_show" , "Elizabeth Martin Website" , "images/slidec.jpg?cid=6&height=450&width=560" , false);
}

eg1Mc.buttonMode = true;

```

Where I have Elizabeth Martin Website as a caption how would I change this so I could have:

Elizabeth Martin Website  
Click to see this site

Where click to see would obviously be a link to the site?

Can this be done in AS3 or would it be done via the javascript file that this code calls?
