# Problem with popup window

**URL:** <https://forum.kirupa.com/t/problem-with-popup-window/25896>\
**Category:** Uncategorized\
**Created:** [July 17, 2003, 12:00pm UTC](https://forum.kirupa.com/t/problem-with-popup-window/25896 "2003-07-17T12:00:45Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 19, 2003, 12:32am UTC](https://forum.kirupa.com/t/problem-with-popup-window/25896/21 "2003-07-19T00:32:59Z")

</div>

this is the code for the flash button

on (press) {  
gotoAndStop(“button”);  
loadMovieNum(“[http://tek-labs.com/affiliation.swf](http://tek-labs.com/affiliation.swf)”, 50);  
}  
on (release) {  
getURL("javascript:openNewWindow(‘Demo. html’,‘thewin’,‘height=500,width=650,toolbar=no,sc  
rollbars=yes’) ");  
}

and this is the error i get when i publish

Scene=Main Scene, Layer=Buttons, Frame=1: Line 6: String literal was not properly terminated  
getURL("javascript:openNewWindow(‘Demo. html’,‘thewin’,'height=500,width=650,toolbar=no,sc

Scene=Main Scene, Layer=Buttons, Frame=1: Line 7: ‘)’ or ‘,’ expected  
rollbars=yes’) ");

Scene=Main Scene, Layer=Buttons, Frame=1: Line 8: ‘;’ expected  
}

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 19, 2003, 12:37am UTC](https://forum.kirupa.com/t/problem-with-popup-window/25896/22 "2003-07-19T00:37:38Z")

</div>

ok wait i changed the sc rollbar to make 1 word and it works , but, it tries to open up a new browser page url with this

javascript:openNewWindow(‘[http://tek-labs.com/affiliation.htm’,'Tek](http://tek-labs.com/affiliation.htm','Tek) Affiliates’,‘height=500,width=650,toolbar=no,scrollbars=yes’)

as the internet adress…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 30, 2003, 7:17am UTC](https://forum.kirupa.com/t/problem-with-popup-window/25896/23 "2003-07-30T07:17:17Z")

</div>

chris, where is my ring beeatch?

[Previous page](https://forum.kirupa.com/t/problem-with-popup-window/25896.md?page=1)
