# Popup window from embedded HTML tag

**URL:** <https://forum.kirupa.com/t/popup-window-from-embedded-html-tag/204714>\
**Category:** flash\
**Created:** [October 22, 2006, 10:44pm UTC](https://forum.kirupa.com/t/popup-window-from-embedded-html-tag/204714 "2006-10-22T22:44:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pherank](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Post date:** [October 22, 2006, 10:44pm UTC](https://forum.kirupa.com/t/popup-window-from-embedded-html-tag/204714/1 "2006-10-22T22:44:45Z")

</div>

I need to add a javascript popup window effect to the following line of code:

```auto
press += "<font family='Verdana' size='11' color='#B2B2B2'><a href='"+URL+"' target='_blank'>"+lead+"</a></font><br>";

```

(I’m applying a stylesheet to some XML and need to be able to use HTML within Flash)  
I can’t seem to find the right syntax. I prefer a Flash solution to this problem rather than external Javascript. Check out the attached file.
