Closing Browser After Opening New Window
How do I close a browser window that has just spanwed a new window?
FlashKit > Flash Help > Flash ActionScript
Posted on: 12-21-2001, 06:58 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Closing Window When Audio Is Done And Opening New Browser..
I am using Flash MX. I have a 35 second piece of Audio that I imported into Flash and there is an Image there as well. The Flash is launching once the HTML page opens...it plays the audio. When the audio ends, I want the window to close and open up a new page. Can someone tell me how to do this?
I have the audio on one layer, the image on one layer and they are both in Frame 1 on seperate layers. Can anyone help?
Thanks!
[F8] Opening/Closing Window
Thank you for your interest in this thread.
I need to know what action script should I use for a button to close an existing window that it is in and open a new window.
Basically, when I click on the button, the page closes, then a new URL window opens.
Thanks!
Opening And Closing A New Window Locally
Working on the web, I have opened a new window and closed it many times... getURL and javascript:window.close();...
However, now I am running a movie locally and they want a button to open a new window, and for the new window to have a close button. Both the getURL and javascript:window.close(); commands got to the browser.
How do I do this locally?
Thanks.
Opening And Closing A New Window Locally
Working on the web, I have opened a new window and closed it many times... getURL and javascript:window.close();...
However, now I am running a movie locally and they want a button to open a new window, and for the new window to have a close button. Both the getURL and javascript:window.close(); commands got to the browser.
How do I do this locally?
Thanks.
Opening & Closing Window Boxes Within Flash
Hi all
Im not too sure my Subject title really explained what I need to do but im gonna give it a go and hope that someone just pops by and has a look.
I have a flash movie of a car with some round circle buttons on some parts of the car that when clicked shows particular parts of the car in close-up.
Before I just used a roll over button and made a box appear when I the mouse rolled over but the of course it just disappeared when people came off the button.
What I would like now is that when the button it rolled over small box comes up within the movie and juststays there until you click the cross at the side of the box and then it just disappears and everything is teh same underneath. Kinda like a browser window but not if you get me.
Im not sure how to do this but it would be great to know how.
I hope you guys can help me, im learning all the tme with this.
Mark
Closing Browser Window
I have a pretty easy question i hope.
I'm trying to make a simple flash application that will open and close the browser window.
To open a URL is easy like
getURL ("http://www.ect");
but how do I close it, say in frame 30?
basically what this application will do is constantly open and close the same URL..that's it
any thoughts on how I can acheive this??
thanks in advance Steve
When Closing A Browser Window .....
Just a thought, but when a user closes the browser, is it possible to display a "thankyou".swf on a timer that will close the browser in a certain amount of time (5 secs).
I've got the timer and the image I want displayed, but havn't a clue about closing the browser.
Also do you think it's a waste of time to do this as it would be infuriating to the user.
Cheers for your time,
vglcrew
Closing Browser Window
How do I make an exit button to close the entire browser window that the swf file originally opened into?
Closing Browser Window
is there an action that i can place behind a button that will close the browser window that the swf file is playing in, i can do it in the exe format but am having problens with swf & html
Thanks in advance
Closing A Browser Window Using JS
Can someone please tell me the action need to be placed in a button, if that button were to close the browser window on release..
I know it can be done in javascript, but I am not sure of the script..
Thanks for your help.
Closing Browser Window.
I am playing my swf file directly into the browser with no html page. I need to know how can I communicate with the browser without the html page. I tried the FSCommand but it needs the html.
I have a button in my movie that I would like for it to close the browser window that contains the swf file.
Thank you
J.
Closing A Browser Window
On an html page, I want to have a button within an embedded swf file to 'quit browser'. Does anyone know the actionscript?
Closing The Browser Window
How can I have a flash button close the browser window?
I created a flash cd rom with an exit button. Now the client is using this on their intranet site and the fscommand("quit") function no longer works. So I want to change the actionscript to close the browser window.
Couldn't they create an invisible button in html or javascript that lies over the flash file that closes their browser window?
Any suggestions?
Thanks
Closing A Browser Window
Can any body tell me plz that, if i want to close a browser window on a specific date. I means that if some one tries to visit the site on which the close brower window script is written, then the browser window should close if it matches the specific date, and should not show the site.
for example, that if in the script the date of closing the browser window is 15th of september, then if some on tries to open the site on 15th september, then the browser window should close.
i will be very thank full to any body who will help me in this matter.
Closing A Browser Window
I am trying to use a button in flash to close a browser window. The window that I am trying to close is a pop up that I previously opened. It is not the same html file that contains the button.
Can anyone help?
Thanks,
Closing Browser Window
Helping a Newbie.....
I see plenty of Ways to open Browser windows, but how does ne close a browser window with Flash MX.
I have a flash page that opens ( we can call is start.html )and I want the people to press a button that will fire up another browser with a different HTML file in another window that uses one of the many decriptions of how to do that so that I can control the size and options of the second window... but.... I also want it to then close the first window ( which is the start.html file)
Any takers?
Closing A Browser Window
Does anyone know how to make a browser window close upon a click of a button?
I want to make a pop up close once they have made their selection which loads in the main browser window.
thanks!!
Closing A Browser Window
This actionscript works on a mac but not on a pc. It's supposed to close the window once a button is clicked:
getURL ("javascript:self.close()");
Closing Browser Window...
Hi!
I was wondering how I would go about having a flash button close the browser window it's residing in.
Thanks in advance!
Closing A Browser Window?
I've got large images opening up in seperate windows within my site. How do i put a button in close a browser window?? This is what i've tried (attatched) using the fscommand which works for a projector but not for a browser any help would be great...cheers
Closing The Browser Window
hey guys just wondering if anyone knew of any way that you could through javascript or actionscript make an animation play within the flash movie when the user clicks on the close button in the browser window.
any ideas would be awesome
cheers
Closing A Browser Window?
Hey all
As I am building a site with flash..
I was wondering How could I make an actionscript for a button
That on pressing it, it will close the current window opened?
Thanks alot
Closing A Browser Window
I'm wondering if I have a main.swf that has a button with a getURL code to load a box.swf; can I somehow close the browser window that main.swf opens in? because if I click between main.swf and box.swf a new browser keeps opening up.
Please help.
Thanks,
Tri
Closing A Browser Window
Does anyone know the coding to close a browser window from a button? I've seen it on a couple of sites, and was wondering how they did it.
the DRS
Closing Browser Window With Flash 4
I know how to do it using javascript with flash 5 but i only have the flash 4 version. Is there a way to do it with flash 4 because when i try it with the script that someone said in the Flash 5 forum. it didn't work.
btw, this was the script to put in the getURL action:
javaScript:window.close
Closing A Browser Window Using Flash?
Well....how is it done? Basically...what's the javascript I need?
I have a movie here and I will have to provide a close button or novice computer users will have a breakdown.
- Matt
Closing A Browser Window Within Flash
can any help please with the following..
on (release) {
//what code do i put here to close the browser in which the flash movie is embedded into.
}
thanks
mtt_dkyn
Detect Closing Browser Window
Hi all,
the problem is this one: i want my flash movie capturing browser windows client closing, to call an actionscript function that is calling a javascript function in the HTML page.
Is this possible?
Or the same problem, but in another way:
I think that once browser is closing its own window, tells flash movie to stop, and then unload it.
Is it possible for Flash to detect that "STOP"?
I need it for AICC.
Really urgent and important.
Thanks a lot.
Bye
AlX
Closing A Main Browser Window
I'm loading (onload) .swf files into an html shell. The shell holds my Flash exported SWF file, which is embedded in the html file, so, I have buttons on the top of the html page for resources, etc. I also have a link to EXIT. I'm trying to figure out how to close this main browser window using a button action. Is this close:
Header of HTML shell
<head>
<script language="javascript">
<function closewindow()
if(window.parent!=window){
window.close = function() { window.parent.close(); }}
</SCRIPT>
</head>
---------
BUTTON in Flash:
on (release) {
getURL ("javascript:javascript:closewindow();");
}
Closing A Browser Window With A Flash Mx Button?
I am looking to spawn a new browser window to play my flash in and then have an "exit" button in flash that will close the entire window. I know how to make the button close the projector.exe but not the proper command to have it close a browser window. Probably a very simple solution, I appreciate any help, thank you in advance.
Grrr... Closing A Browser Window Using FScommand
Hello,
Could someone please tell me, how does one close a browser window using the FSCommand. The normal 'quit' option works only closes a projector file. But i need to close a browser window.
I hear there is some technical javascript wizadry which allows one to do this. Please help....
Thank Ye,
Gopaldass
Handle Browser Window Closing In Flash
Hey y´all!
Working on a flash poker game and I wonder if there is any way you can create a popup launcher that detects if the user tries to close the browser window. Right now the user can close the window and therefor lose the current round, isn´t very user friendly. So anyone know how to detect window close in flash?
Would be greatful for any suggestions!
Peace
Grrr... Closing A Browser Window Using FScommand
Hello,
Could someone please tell me, how does one close a browser window using the FSCommand. The normal 'quit' option works only closes a projector file. But i need to close a browser window.
I hear there is some technical javascript wizadry which allows one to do this. Please help....
Thank Ye,
Gopaldass
Detect When Flash File Ends By Closing Browser Window
Okay, this one was hard to explain in the title.
What I want to do is know when a user hits another web address or closes the browser window so that I can write out the session ended information to a database. Is this possible? I write to the database when the swf file is started, and can write to it if I hit an end button within the swf file, but my concern is - what if someone doesn't hit the end button and just closes the browser. Can that be captured from flash or some other script?
Thanks for any help.
:::Opening A Browser Window From Within A SWF:::
I'm sure this question has been posted before, but I can't seem to find it along with the solution:
What script, along with the fscommand do I need to use to
open a new browser window from within a SWF?
Thanks in advance!
:::Opening A Browser Window From Within An SWF:::
I'm sure this question has been posted before, but I can't seem to find it along with the solution:
What script, along with the fscommand do I need to use to
open a new browser window from within a SWF?
Thanks in advance!
Opening A New Browser Window
Hello!
I`m trying to open a nwe browser window from a flash movie, but I`m having troubles....
Every time I want to do this, I write something like this (I`m without flash now, but it always works):
get url: javascriptpen"(`thefile.htm`,300,400);"
Well, this time I want ot open a new browser window, but it is a chromeless window, as you can see in http://www.microbians.com.
I think you`ve already seen it.
But it isn`t working this time.
If you want, I can send you it`s code.
Please help me, because I don`t want that ugly window again!!
THANXALOT
gabi
Help W/ Opening New Browser Window
Heres my problem...*sigh*
I have a index.htm page, which loads a small unseen swf movie called redirflash.swf (loacated at http://fromthegrave.lunarpages.com/cat-bat/cynic/). This is just to redirect to the opening animation which I needed to use this script in (the file is flashindex.htm):
getURL("javascript:window.open('http://fromthegrave.lunarpages.com/cat-bat/cynic/flashindex.htm','CynicStudios','toolbar=no,locatio n=no,directories=no,status=no,menubar=no,scrollbar s=no,resizable=no,width=750,height=550,left=250,to p=250');");
Whats happening is...then the javascript goes off, it does load the flashindex.htm that I want it, but the other browser behind it, (which was redirflash) opens a white window. I want that page to go to another page and sit. Nothing more will be done with that window. Anyone got any ideas?
Much appriciated.
Opening New Browser Window
I am creating a website and from the enter button on the index page am attempting to open a new browser window.
The code I have in flash is on (release)
{getURL("javascript:window.open('lojko_website.htm l','t','width=800,height=600,screenX=200,screenY=2 00,left=200,top=200,menubar=no,scrollbars=no,resiz eable=no,copyhistory=yes,status=yes')");
}
the problem that I am encountering is that the index page will not keep it's original image. When I click on the enter button, the appropriate page will open, however the index page changes to a blank page with just the word [object} appearing, and the code above appears as the URL.
Any thoughts on what I am doing wrong?
Thanks
Opening A New Browser Window
Is there a way a button could trigger a new browser window to pop up and go to a new URL??
Even though this isn't what I want, I have managed to make the browser window of my movie to an address using this script on a button:
on (release) {getURL("http://www.google.co.uk/");
}
Could this script be adapted to open a new window then go to url?
Cheers
Help With Opening New Browser Window
I have a function set in flash to open a new browser window (amongst other things), but I need it to open to a specific size. Can anyone edit the below code for me to include a resize of a browser window to 420 x 320? Also, let me know what javascript to place in the html document?
thanks!
if (opt == "option9") {
loadMovieNum("whitescreen.swf", 2);
loadMovieNum("toolbox9.swf", 3);
getURL("http://www.skylinknetworks.com/guyed.html", "_blank");
unloadMovieNum(4);
[CS3] Opening A New Browser Window
I'm trying to create a link to a page in my online portfolio that opens up a page that contains my resume, but I want the page to open in a new browser window. Does anyone know how I can do this? Thanks (WEich1213@aol.com)
Opening A New Browser Window
hi you all
im haveing problems to open a new internet browser from my file. i use this code
getURL("http://atropper.com/file _name.swf","_blank ");
And i would like the new window to be open in the size of my file dimention which is 445X444 for this example.
What am i doing wrong? do i need to use Allwscale as well?
Opening New Browser Window
hi people,
i don't want to sound cocky but i'm in need of urgent help.
i have a movie button that i want to link to a html within my site.
eg; mydomainname/the-html-page i want it to link to.
my code
Code:
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){
getURL("www.mydomainname/the-html, _blank");
}
but it's not working. it just add the extra stuff on the existing adress. something like www.mydomainname/www.mydomainname/the-html
Opening Browser Window?
i have a flash movie that has a link opening a browser window (html page)... is there a way to have flash tell the window to have no scrollbars, address bar, status bar etc?.... (like a javascript link in a regular html page)...
|