# getURL

**URL:** <https://forum.kirupa.com/t/geturl/295606>\
**Category:** Uncategorized\
**Created:** [September 1, 2009, 8:49pm UTC](https://forum.kirupa.com/t/geturl/295606 "2009-09-01T20:49:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eagle1](https://avatars.discourse-cdn.com/v4/letter/e/eb8c5e/32.png) [@Eagle1](https://forum.kirupa.com/u/Eagle1)\
**Post date:** [September 1, 2009, 8:49pm UTC](https://forum.kirupa.com/t/geturl/295606/1 "2009-09-01T20:49:48Z")

</div>

hey everyone !

I’m an AS3 lover/noob programmer, but when it comes to AS2… I’m nothing…

```auto

ddg_btn_1.onRelease = function(){
    getURL("javascript:window.open('/game-fullscreen/1-drawing-game?siteCode=hanse&idPicture=4')");
}

```

I want to pop-up a new window… That code shouldn’t work ? Off course the button name’s is good…

It’s incredible how as2 is ugly when you know as3…

Thanks for your help !
