I'm trying to create a link/button in my flash movie wich opens a link in a popup window which is modified using javascript like this: infomov.cpg_btn.onPress = function() { getURL ("javascript:NewWindow=window.open('http://' + downloadUrl + '?' + downloadNation + '&' + downloadClub + '&' +downloadHole,'newWin','width=350,height=285,toolbar=No,location=No,scrollbars=Yes,status=No,resizable=Yes,fullscreen=No');NewWindow.focus();void(0);"); }; Code (markup): The problem is taht it doesnt get any link. The problem seems to be with the "+downloadUrl" and the other + statements... If I just inserts www.adobe.com it does what it is surposed to do... Does anybody know how to solve the issue with the + statements in this javascript...
you had some confusion when mixing ' and " this one should work window.open('http://+ " downloadUrl + "?" + downloadNation + "&" + downloadClub + "&" + downloadHole,'newWin','width=350,height=285,toolbar=No,location=No,scrollbars=Yes,status=No,resizable=Yes,fullscreen=No')