# How can I open a new (\_blank) browser window in as3?

**URL:** https://forum.kirupa.com/t/how-can-i-open-a-new--blank-browser-window-in-as3/253727
**Category:** flash
**Created:** [March 4, 2008, 3:53pm UTC](https://forum.kirupa.com/t/how-can-i-open-a-new--blank-browser-window-in-as3/253727 "2008-03-04T15:53:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![flashapt](https://avatars.discourse-cdn.com/v4/letter/f/cc9497/32.png) [@flashapt](https://forum.kirupa.com/u/flashapt)
#### Post date: [March 4, 2008, 3:53pm UTC](https://forum.kirupa.com/t/how-can-i-open-a-new--blank-browser-window-in-as3/253727/1 "2008-03-04T15:53:30Z")

</div>

\*\*Opening a new window in as3 triggers popup blockers on some browsers. How do I get around this problem?

\*\* I need a solution that will work on all browsers and all minor versions of Flash player 9. Like it worked in AS2 with:  
on(release) { getURL("[http://www.adobe.com",](http://www.adobe.com/) “\_blank”); }

I have done some testing with different ways of opening a new window and with different "wmode"s. But have not found a generic solution that will work on all browsers. To many are blocked by browsers popup blocker. Anyone out there got a solution for me? Adobe?

I have also set up a testpage for checking different browsers. Take a look here:  
[http://kunde.apt.no/paal/](http://kunde.apt.no/paal/)

Also check out the results from my testing here (green is OK, red is blocked):  
[http://kunde.apt.no/paal/results.html](http://kunde.apt.no/paal/results.html)

Thanks

Pål Smitt-Amundsen  
Senior Flash developer  
apt as - Norway
