# startDrag() and html links

**URL:** <https://forum.kirupa.com/t/startdrag-and-html-links/286816>\
**Category:** flash\
**Created:** [April 21, 2009, 12:37pm UTC](https://forum.kirupa.com/t/startdrag-and-html-links/286816 "2009-04-21T12:37:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Esseti](https://avatars.discourse-cdn.com/v4/letter/e/bb73d2/32.png) [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Post date:** [April 21, 2009, 12:37pm UTC](https://forum.kirupa.com/t/startdrag-and-html-links/286816/1 "2009-04-21T12:37:22Z")

</div>

Stage:

- A movieclip called “contentMC” with a textfield “contentTF” that has loaded htmlText in it with \<a href\> tags.
- Added MouseEvent.MOUSE\_UP and MouseEvent.MOUSE\_DOWN listeners to “contentMC” with:

```auto
function mouseDown(e:MouseEvent):void {
e.target.startDrag();
};
function mouseUp(e:MouseEvent):void {
e.target.stopDrag();
};

```

How can I enable the use of both dragging and dropping of the contentMC, and enable the use of the \<a href\> tag in the contentTF textfield in it?
