# Flash's own getURL-with-javascript not working

**URL:** <https://forum.kirupa.com/t/flashs-own-geturl-with-javascript-not-working/218569>\
**Category:** flash\
**Created:** [March 8, 2007, 9:51pm UTC](https://forum.kirupa.com/t/flashs-own-geturl-with-javascript-not-working/218569 "2007-03-08T21:51:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![will\_s](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@will\_s](https://forum.kirupa.com/u/will_s)\
**Post date:** [March 8, 2007, 9:51pm UTC](https://forum.kirupa.com/t/flashs-own-geturl-with-javascript-not-working/218569/1 "2007-03-08T21:51:04Z")

</div>

Hi,

I’m trying to use getURL to open a new window that will have a specified size.  
I downloaded Macromedia’s own tutorial/sample code for how to do this using javascript and cannot get it to work.

Here’s their code:  
on (release) {  
getURL("javascript:openNewWindow(‘[http://www.macromedia.com](http://www.macromedia.com)’,‘thewin’,‘height=400,width=400,toolbar=no,scr ollbars=yes’) ");  
}

Here’s where I got the code from:  
[http://www.adobe.com/cfusion/knowle…cfm?id=tn\_14192](http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14192)

Nothing happens when I click their button. I tried changing the target, still nothing. I also tried it in Safari and in Firefox with FF’s popup blocker turned off. Nothing.

Here’s the URL to my attempt:  
[http://willsoper.net/getURL\_javascript.html](http://willsoper.net/getURL_javascript.html)

Any ideas?

TIA,  
Will
