Open Browser Window
I need to link a button in my flash file to an html doc. I know how to do that but how do I get a new browser window to open????
Thanks in advance
FlashKit > Flash Help > Flash Newbies
Posted on: 03-27-2002, 02:41 PM
View Complete Forum Thread with Replies
Sponsored Links:
Open A New Browser Window And Go To Frame(n) In The New Window
Hi I need some help.
I'm trying to load a new html file that contains a movie but I like to specify to what frame to proceed in that movie I try to write this in actionscript I think it is easier to understand.
// I have 2 html files contact.html and home.html
// And I have one swf file named home.swf with 2 scenes named "home" and "contact"
// The home.html and the contact.html both contain the same home.swf movie
// currently I'm in home.html I like to getURL("../main/contact.html")
that loads the contact.html and the contact.html contains the home.swf but I like to proceed to the gotoAndStop("Scene",1) or gotoAndStop("contact",1)
I hope that was clear enough if you may know the answer please email me I have suffered a lot on this but I just couldn't come up with the answer.
Regards
zoltank@timelineillustrations.com
View Replies !
View Related
Open Browser Window - Help
I want to open a browser from flash5 with defined dimensions.
I've used a variety of the tutorials but none seem to work and I keep getting JS errors.
This is what I used:
In the html file between the <head> tags
<SCRIPT LANGUAGE="javascript">
function newWindow(url,name,features){
var newWin = window.open(url,name,features);
}
</script>
In the flash button
Get URL ("javascript:newWindow('your_html_file.html','newW in','height=***,width=***,toolbar=0,menubar=0,loca tion=0,scrollbars=1,resizable=1')", vars=POST)
ANy help appreciated...
View Replies !
View Related
Open Browser Window
i have a button in my mc and i want to open a new browser window when it is pressed.
the window that opens contains an image i have created.
the window that opens also must have the same dimensions as the image itself, not just a whole new window.
View Replies !
View Related
Open Browser Window
I'm working on my portfolio website. On the pieces with Quicktime movies, I want a new window (the size of the movie) to pop up when you click on the "view movie" button. Can anyone please give me the instructions and code necessary to do this?
thanks!
View Replies !
View Related
Open Browser Window
Dear All,
I am doing a web site in Flash which is 600x400 and I wish to display it exactly in the middle of the screen, without any borders or scrollbars. How can I do that?
Thanks for your help
View Replies !
View Related
Open New Browser Window
Hello,
I have a projector (.exe) from Flash MX that will open as an intro for a CD. It has links to urls in it to open a browser window and show different html files on the CD. I can get the buttons to open the html files in a browser window just fine, but it needs to not keep opening a NEW window every time. I would like it to open the new file in the same browser window. I've tried naming the window by using this actionscript on the button, like this...
(on (release) {
getURL("test1.html", "mywin");
}
and keeping "mywin" the same for every link but inserting the correct urls, but it's not working. What am I doing wrong???
Thanks,
Jill
View Replies !
View Related
Open A Browser Window
Hi Everyone,
Just foudn a strange problem that's bugging me. I've got a portfolio site, and in it i ahve a few links that use javascript to open a new browser window. The links used to work find until I recently went to the site and none of the pop up windows worked. Very strange. So I tried it in Netscape and it worked just fine. But in IE 6 it doesn't work at all. I don't get a javascript error or anything, just when I click nothing happens. There's a bit of a flicker in the status bar at the bottom but it goes so quick I can't see what it says.
Here's the code I'm using in my Flash button:
on (release) {
getURL ("javascript:NewWindow=window.open('http://www.widgets.com/portfolio/cc2001/index.htm','newWin','width=460,height=350,left=0,t op=0,toolbar=No,location=No,scrollbars=No,status=N o,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}
Again, it works fine in Netscape 7 but not in IE 6...at least not online. When I run the file on my hardrive it works just fine...What could possibly be the problem?!
The flash page that I have loads a swf onto the stage, and the button which uses javascript to open a new window is in that swf...Could that be a problem?
So - Works in Netscape
Works in IE6 on my hard drive
Doesn't work in IE6 when online.
Any ideas?!
Thanks guys
View Replies !
View Related
Open Browser Window
hello there i have a problem im traying to apen a custome browser window froma a projector. but it does not work i find tutorials to do that but thwy onli work if the swf is on a html page....how can i make it work froma a projector.........
this example only opens a normal browser window it does not respect the properties
On (release){
('http://www.flashkit.com','','toolbar=no,location=no,direc tories=no,status=no,menubar=no,scrollbars=no,resiz able=no,width=500,height=400,left=200,top=200')
}
i attache the file if any one can help me please....
thanks a lot
View Replies !
View Related
Open New Browser Window
cud anyone elp me with the codes i need;
ive made a website it as an entrance page and an homepage
wot i wud like to do is from the entrance page i wud to press a button and take me to my homepage in a new window at a certain size (550x550) which cant be resize once it open......
cud any one please elp me.....................This is me >>
View Replies !
View Related
Open New Window In Browser
Hi guys, I have a little question for u all:
I have a button inside a clipmovie and I want it to open a new window in browser . The window is not a generic window. It have to be 700x650 px. The problem is that the java script 'open new window, etc.' does not work...Any advice?
View Replies !
View Related
Open Browser Window
Having mac vs pc problems and was hoping someone could help.
On the index page of my website you are asked if you have flash 6, on yes a fixed sized browser window is opened. The measurements for both the swf and the window are 900x600. On the pc this works perfectly. On the mac there is a gap between the edge of the movie and the edge of the window.
It doesnt matter if i have content hanging off the edge of the swf, when viewed in the internet explorer there is a gap no matter what.
If i sent the window size to 884x589 it frames the movie perfectly on the mac but then it chops off the movie when viewed on the pc.
Any ideas? please
View Replies !
View Related
Open Browser Window On Top
Hi All,
I have an EXE in a CD-Rom presentation with a link, which opens a web page. Now is there any code, which can keep this page on top of the presentation so that it does not hide behind the presentation, which runs full screen. Any suggestion is most welcome.
De
View Replies !
View Related
How To Open A New Browser Window...?
hey, i want to know what the actionscript is to apply to a button for it to open a new browser window of specific size etc. i no for html its:
<a href="#" onclick="window.open('http://page.htm, '','height=400,width=500,scrollbars=yes')" language="Javascript1.2" href="javascript:void(0)">
or something. can anyone help?
View Replies !
View Related
Get Url To Open In New Browser Window
i need to get a page to open in a new html browser window. how do i do this? I assume it will have something to do with the get url and then a java script command imbedded in the geturl("") area, but can't figure it out. any help would be greatly appreciated.
View Replies !
View Related
Open New Browser Window
Ideally this would be to click the link 'download wallpaper' from my site, and then a new browser window opening up where they can then 'right click' and 'save as' the wallpaper image. Example of this can be seen at:
http://www.zirkuscreative.com/index2.htm and just follow the 'stuff' link to the wallpaper. Any help would be greatly appreciated as this seems so simple yet is totally doing my head in!!ha ha! thanks - Chris
View Replies !
View Related
What's The Best Way To Open A New Browser Window?
Hi all
I want to be able to open a new browser window; no scrollbars, no adress field, etc but fullscreen, just like http://absolutmetropolis.com/ from within flash, but I want to do this without triggering IE's automatic or any other pop-up blocker. I've seen a couple of sites being able to do this... so I'm curious of what you guys think is the best way.
Basically I'm looking for the best way to open a new browser window from within flash that works with most browser applications (Mac and PC) and to find the most user-friendly way to do this.
Would appreciate any help and tips.
Thanks in advance
View Replies !
View Related
[CS3] Open In New Browser Window
Is there a piece of actionscript to made the link open in a new browser window? The problem I am having is that when the swf file links to a user clicked link it opens the htm link in the same window, when you hit the back arrow, it does not take you back to the page with links, it takes you to the opening scene. Either way would be good, if it would open in a new browser window, or when you hit the back button it takes you back to the same swf location (in an index.html page) as the user left.
Thanks
View Replies !
View Related
Trying To Open A New Browser Window
Hi
I have this code to open my website into a new window once loaded
And I was wondering
A if it is correct I want the dimmensions to be 1000 - 600
B do I put this code in dreamweaver if so where abouts do i put it
myRef = window.open(''+self.location,'mywin',
'left=20,top=20,width=1000,height=600,toolbar=1,resizable=0');
appreciate the help
thanks
matt
View Replies !
View Related
Open Browser Window
Using Flash MX: can't figure out how to open a browser window with specific parameters (specific size, no scroll bar, etc.)
This is the html equivalent:
<a href="#" target="_blank" onClick="MyWindow=window.open('http://www.myweb-page.html','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=700,height=400'); return false;">
Sure could use some help.
Thanks
View Replies !
View Related
Open Browser Window
i have my site in flash but i would like it to automatically open in a browser window like on http://www.pddesign.com
but i would like the window to be perfectly centered .... how do i do that?
View Replies !
View Related
FMX - Open Browser Window
Hi there.
I have a question about a function of Open Browser Window in FlashMX.
I tried a couple of online tutorials, but these did not work. Actually I did not understand how to make this function work.
My problem is here:
I created index.html in FMX. When viewers click on "ENTER," it opens a new browser window, which is intro.html (width: 700, hight: 500, no bars, no scrolls). I know I have to go to "GetURL" in FMX and type action script, and after that go to DreamWeaver to type Javascript in code. But I don't know what I should type in both programs. Those tutorials I tried were not detail for me, so I need very detail explanation.
I started using FMX 3 months ago, I have alot of things I dont know yet. So I need TOO detail instruction.
I hope somebody helps me to solve this problem. I am not American, and if you didnot understand my English, forgive me.
Please HELP!!!
View Replies !
View Related
How Do I Open A New Swf In A Browser Pop-up Window?
In my main movie there is a button that when clicked should open a new browser pop-up window containing a new swf. the pop-up window should be the same size as the swf's movie size.
I need to know how and what html files will be needed on the server to post all movies.
Any help is much appreciated...
Thankyou very much.
justpinz
View Replies !
View Related
Open Browser Window
OpenWin = this.open(page, "KirupaStyle", "toolbar=no,menubar=no,location=no,scrollbars=no,r esizable=yes,width=550,height=250");
}
I'm trying to have an HTML file popup in a browser window and I've followed the instructions in the "Using JavaScript to Open New Window" tutorial.
I think the problem may be in the code above - "KirupaStyle" may correspond to code in another file but I don't know where it is. Please advise.
View Replies !
View Related
Open New Browser Window
Hi
I've been trying to get my original flash movie to open up a new one in a separate browser window with no toolbars, menubars etc and to a specific size.
First of all I assigned this action to the button in my original flash file:
on (release) {
getURL("javascript:Launch('http://www.mydomain/gallery.htm')");
}
then in the html page that the original flash sits I have:
PHP Code:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function Launch(page) {
OpenWin = this.open(page, "Gallery", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,width=451,height=472");
}
// End -->
</SCRIPT>
This I copied direct from a tutorial from this site which suggests putting this file in the BODY tags. However when I try it out, I click on the button in the flash file and it opens up a new page but with nothing in it (i.e. not the requested html page) and just a copy of my getURL entry
javascript:Launch('http://www.mydomain/gallery.htm')'
which is dispayed in the location bar.
Anyone got any idea what might be going on?!
View Replies !
View Related
Open New Browser Window
Hi.
With the code below, I am able to open a new browser window from a button with the size dimensions you see in the code. Unfortunately, if I put script on other buttons to open windows of a different size, the window currently open does not close first and the new file is opened in it. This is not good because the html files that open up in the browser windows contain pictures that are different sizes and so they are cropped. What code do I need to overide the size of the existing browser window.
Somebody told me that if the <TITLE/> had the same name in every window it would work but it made no difference!!
Thanks for you help.
on (release) {
getURL ("javascript:NewWindow=window.open('photo/africa1.htm','newWin','width=250,height=378,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resi zable=No,fullscreen=No'); NewWindow.focus();void(0);");
}
View Replies !
View Related
Open Browser Window
I am trying to have buttons in flash that open different sizes of browser windows.... I have one button I want to open a browser window to 340x480 and another button to open a browser window 640x480.
I have used a script that I found at
http://www.kirupa.com/developer/flash5/newwindow.htm
The problem with this script and the way it goes about opening a browser window is that you have to put the dimension in your html code. Now the script works great if you only have one button that opens one browser, I however have multiple buttons that I want to open multiple browsers in different dimensions.
Does anyone have a better way to open a new broswe window.
Thanks for your time
View Replies !
View Related
Open New Browser Window (HELP)
Hi
I've created an interactive CD which has an autorun and starts up full screen.
On the CD there are quite a few buttons that link through to websites, the links work fine, but the problem is (on some machines) the browser is opening under the interactive cd.
Does anyone know why this is happening and how I can fix it??????
Any help would be great!!!
View Replies !
View Related
Open New Browser Window
I have a text link to a website inside my swf file. The only problem is that it opens the link in the same browser window as the swf file. How do I get it to open the text link in a new browser window?
Thanks
View Replies !
View Related
Open Browser Window
Hi.
With the code below, I am able to open a new browser window from a button with the size dimensions you see in the code. Unfortunately, if I put script on other buttons to open windows of a different size, the window currently open does not close first and the new file is opened in it. This is not good because the html files that open up in the browser windows contain pictures that are different sizes and so they are cropped. What code do I need to overide the size of the existing browser window.
Somebody told me that if the <TITLE/> had the same name in every window it would work but it made no difference!!
Thanks for you help.
on (release) {
getURL ("javascript:NewWindow=window.open('photo/africa1.htm','newWin','width=250,height=378,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resi zable=No,fullscreen=No'); NewWindow.focus();void(0);");
}
View Replies !
View Related
How To Open Browser Window From Flash 4?
Im trying to open a new browser window that displays a JPG from a button inside my Flash movie. However, I want that window that opens up to be an exact height and width.
I tried the tutorial on FlashKit, but it didnt work for me! Can anyone tell me how to do this?
Any help is appreciated
Thanks!
View Replies !
View Related
An Open Browser Window On Flash
Hello all.
I've a movie with four buttons that open a new browser window. Four buttons - four windows.
On HTML we used this code: OpenBrWindow('page.htm','default','width=300,heigh t=300')
How can I make something similar on Flash?
Bye:::::::::::::::
View Replies !
View Related
Open Browser Window.....Some HELP Needed
I am doing a Flash movie which is 800x600 and I am opening a Browser Window to display it. Here is my code:-
<a href="#" onClick="MM_openBrWindow('Main.html','MyName','sta tus=yes,width=800,height=600')">Launch Site</a>
But what I am getting is the movie with a left and top margin, which I want to eliminate. Are there any commands with JScript to remove these?
thanks for your help
View Replies !
View Related
Open New, Not Scaleable, Browser Window
Hi! I'm just learning AS but!
please tell me, how to script a button (in flash) that opens a new browser window, that is not scaleable, has a specific weidht and height and no toolbars!!!
PLEEEAASE!!!!
i'll be very glad when u describe it VERY EASY or u do it that way, that i only have to copy-paste it and fill in the correct numbers!
PLEEEAASE!!!!
maxRuprecht
veryThanx
(Sorry for grammatical and other mistakes in the text, but
i'm a german and i can't speak english very well...! THX!)
View Replies !
View Related
Open Browser Window.....Some HELP Needed
Dear All
I am trying to launch the Main site after the intro finishes, and I am doind a getUrl("http://www.mysite.com/Main.html") which works fine. However, my Main.html is meant to be in an 800X600 browser window. How can I do that with actionscript?
Thanks for your help
View Replies !
View Related
Open New Browser Window With No Borders
ok I got a button with this action and java script
on (release) {
getURL("javascript:NewWindow=window.open('SS_dmlog o.html','dmlogo','width=500,height=84,left=0,top=0 ,toolbar=No,location=No,scrollbars=No,status=No,re sizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}
in my html that is linked in the above script I have this code
<html>
<head>
<title>dmlogo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<img src="dml_logo.jpg" width="500" height="84">
</body>
</html>
real simple code.
what I want to happen:
I want the image to load with no borders as you can see I have <body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> for no borders in the html doc.
here is my problem:
when the pop up is activated i stil have a border on the bottom margin. note: My image is cropped correctly 500x84
If I change the height dementions in the on click action to a smaller ammount it has no effect at all.
appreciate the help.
thanks
-dahc
View Replies !
View Related
Open A JPG In A New Browser Window From Flash
Hi,
Does somebody now how to open a JPG in an new Browser window, the command given by Flash?
I don't know if this is possible. I wan't to give the visiter two options.
1. View an external image in a mask in Flash...(this is no problem)
2 View the same (complete size) image in a new broswer window.
Thanks for any help.
Yvan.
View Replies !
View Related
Open Browser Window Via Fscommand
I got a really bad problem and I don't understand why it dosen't works.
From a Flash5 Movie I want to open a html guestbook in a new window.
on the button on (release)
fscommand ("Guestbook", "none");
// Place your code here…
if (command=="Guestbook") {
window.open("guestbook.php",null,"height=460,width =400,status=no,toolbar=no,menubar=no,location=no") ;
}
I've already done this some time ago, but now it won't work. Please Help.
View Replies !
View Related
GetURL Open URL In Same Browser Window?
How can I get Flash MX to open a link to a new page in the same browser window?
esp, while using POST, ie: getURL("nextpage.asp", "POST");
I googled for help, and the closest clue I could find is when you use something like this:
code:
getURL("javascript:window.open('uploadown.asp','th ename','width=300,height=300');void(0);");
It forces it open in a new window. Is there a different version of javascript:window.open that makes it open in the current window?
Thanks!
Liam
View Replies !
View Related
GetURL Open URL In Same Browser Window?
How can I get Flash MX to open a link to a new page in the same browser window?
esp, while using POST, ie: getURL("nextpage.asp", "POST");
I googled for help, and the closest clue I could find is when you use something like this:
code:
getURL("javascript:window.open('uploadown.asp','th ename','width=300,height=300');void(0);");
It forces it open in a new window. Is there a different version of javascript:window.open that makes it open in the current window?
Thanks!
Liam
View Replies !
View Related
GetURL Open URL In Same Browser Window?
How can I get Flash MX to open a link to a new page in the same browser window?
esp, while using POST, ie: getURL("nextpage.asp", "POST");
I googled for help, and the closest clue I could find is when you use something like this:
code:
getURL("javascript:window.open('uploadown.asp','th ename','width=300,height=300');void(0);");
It forces it open in a new window. Is there a different version of javascript:window.open that makes it open in the current window?
Thanks!
Liam
View Replies !
View Related
Pop Open Browser Window W/ Javascript?
Hello,
I have seen someone use a Flash Projector file with a clickable button Pop Open a HTML Browser window, but I do not know how to set up the code with in Flash.
I know how ot do it in straight HTML, where you can define size, location and other parameters.
This is the code, I use in HTML, can someone tell me how to accomplish this in Flash?
SCRIPT LANGUAGE="JavaScript"
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
/SCRIPT
a href="#" onclick="MM_openBrWindow('ca/images/splash_question.jpg','home','toolbar=no,status=yes ,left=0,top=0,width=500,height=400')"Open Window /a
I had to take out the brackets cause it wouldnt let me post the code, with them
Thanks
View Replies !
View Related
|