# Popup Centered Window Tutorial Problem

**URL:** <https://forum.kirupa.com/t/popup-centered-window-tutorial-problem/229408>\
**Category:** flash\
**Created:** [June 16, 2007, 10:02pm UTC](https://forum.kirupa.com/t/popup-centered-window-tutorial-problem/229408 "2007-06-16T22:02:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![2ip](https://avatars.discourse-cdn.com/v4/letter/2/46a35a/32.png) [@2ip](https://forum.kirupa.com/u/2ip)\
**Post date:** [June 16, 2007, 10:02pm UTC](https://forum.kirupa.com/t/popup-centered-window-tutorial-problem/229408/1 "2007-06-16T22:02:16Z")

</div>

Your totorial located here [http://www.kirupa.com/developer/flash8/centered\_popup\_window.htm](http://www.kirupa.com/developer/flash8/centered_popup_window.htm)  
is given me trouble.

Ive spent about an hour with it and keep getting syntax errors. Seem Flash CS3 doesnt like the code…

btn\_Up.onRelease = function() {  
getURL(“javascript:Launch(‘[http://www.kirupa.com/sotw/archive.htm](http://www.kirupa.com/sotw/archive.htm)’, 400, 300)”);  
};

Every time i run the movie i get a syntax error.  
1120: Access of undefined property btn\_Up.  
1180: Call to a possibly undefined method getURL.

Whats the problem?
