# AS2/CS3: window.open in HTML in XML into Flash

**URL:** <https://forum.kirupa.com/t/as2-cs3-window-open-in-html-in-xml-into-flash/264295>\
**Category:** flash\
**Created:** [June 24, 2008, 7:00pm UTC](https://forum.kirupa.com/t/as2-cs3-window-open-in-html-in-xml-into-flash/264295 "2008-06-24T19:00:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mondoFred](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@mondoFred](https://forum.kirupa.com/u/mondoFred)\
**Post date:** [June 24, 2008, 7:00pm UTC](https://forum.kirupa.com/t/as2-cs3-window-open-in-html-in-xml-into-flash/264295/1 "2008-06-24T19:00:04Z")

</div>

Okay, here goes: My Flash CS3 file displays HTML text, read in from an XML file (within CDATA). The HTML text contains links in the form of \<a\> (anchor) tags (of course).

I am attempting to open a new customized browser window whenever a user clicks on a displayed link. So far, I am able to open a window, but the customizing attributes (“width=600,…” etc.) are ignored.

Rather than displaying for you the one dozen variations I have (unsuccessfully) attempted, does anyone have a simple example of something that actually works?

If what I’m describing is not sufficiently clear, please advise and I’ll try again.

Thanks in advance!

mondoFred

---

<div class="post-metadata">

**Author:** ![mondoFred](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@mondoFred](https://forum.kirupa.com/u/mondoFred)\
**Post date:** [June 27, 2008, 11:48am UTC](https://forum.kirupa.com/t/as2-cs3-window-open-in-html-in-xml-into-flash/264295/2 "2008-06-27T11:48:35Z")

</div>

Whew! The solution resides in the employment of an [COLOR=Black]arcane[/COLOR] little protocol…[COLOR=Red][U][asfunction](http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001168.html)[/U][/COLOR] (q.v.).
