Ask a Question related to Macromedia Flash Sitedesign, Design and Development.
-
swheller webforumsuser@macromedia.com #1
Opening seperate url's in same browser window
Hi,
I having a bit of a problem. I have a movie clip with 2 buttons in which have the getUrl command that opens a html pages in a browser window. I want to be able to click on one link and it opens a new browser window with the page in and then when I click on the second link it opens it in the same browser window.
Now I have name the window 'sellit' in my getUrl string as below (see end of string, you won't be able to see this working as this a demo site that is passwword protected):-
on (press) {
getURL("http://sell-it.rwa-net.co.uk/deeplink.jsp?command=PackageHomeCmd&search=marketi ngType%3DBeach+Holidays%3Bdestination%3DES%2CCO%2C IS%2CSpain%3Bdestination%3DREG-Canaryislands%2CRG%2CTO%2CCanary+Islands%3Bdestina tion%3DREG-Tenerife%2CRG%2CTO%2CTenerife%3Bdestination%3DRES-Playadelasamericas%2CRE%2CTO%2CPlaya+De+Las+Americ as%3B&browseMode=Holiday+Browse&countTag=1000&Pack age+Marketing+Type=Beach+Holidays&benum=5700\r\n", "sellit");
}
Second link:-
on (press) {
getURL("http://sell-it.rwa-net.co.uk/deeplink.jsp?command=PackageHomeCmd&search=marketi ngType%3DBeach+Holidays%3Bdestination%3DES%2CCO%2C IS%2CSpain%3Bdestination%3DREG-Canaryislands%2CRG%2CTO%2CCanary+Islands%3Bdestina tion%3DREG-Tenerife%2CRG%2CTO%2CTenerife%3Bdestination%3DRES-Loscristianos%2CRE%2CTO%2CLos+Cristianos%3B&browse Mode=Holiday+Browse&countTag=1000&Package+Marketin g+Type=Beach+Holidays&benum=5700\r\n", "sellit");
}
and the second link has the same window name 'sellit'.
When you click on the first link it opens a new browser window, but when you click on the second link it opens another browser window.
Any ideas why this is. I've tried these links in html pages and they do load the pages in the same browser window.
Steve
swheller webforumsuser@macromedia.com Guest
-
Opening Browser Window in Director
I am trying to open a browser window from director. It seems simple enough and there seem to be several ways to do this, but I want to open... -
Opening Image on CD in New Browser Window
Hey folks, I have been trying to use gotoNetPage to open large jpgs in a browser window, but it seems that that function requires the protocal... -
Opening New Browser Window
I would like to open a new browser window from within my php script (edit.php), a window in which another php page is run (search.php). search.php... -
Flash - seperate browser window help
Hey I am Flash newb and was wondering if anyone could tell me how I can make my url links open in seperate windows, I want to keep the main page... -
[PHP] Opening new browser window
Rich Fox said the following on 9/19/2003 12:33 PM>> window is a javascript object and so you should be calling some javascript function to set the...



Reply With Quote

