Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Help Me (closing Player Window Through Actionscript)



HY there!
I'm new to flash mx, and I want to ask you to help me make
a button so that when clicked it will close the flash player (minimize it).
I made a website and I want to run it fullscreen, so
I really need your help!!!!!!!!!!!!!
Please hheellpp.



FlashKit > Flash Help > Flash MX
Posted on: 06-09-2002, 05:39 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

[MX] Closing Flash Player Or Window Projector Player
I know this is pure lazy deal. Is there a script that at the end of the movie clip or slide show it automatic close flash player or close Window Projector?

Closing The Player Window Via AS
is there a way to close the flash player window (notice! not a browser windo in which the movie is in) via a command in action script?
and if there is, how is it done?
thanx.

Closing A Window Using Actionscript
Hi all,
Does anyone know how to close a window containing a Flash movie using actionscript? If not then calling a Javascript routine from flash.

Closing A Window By Using ActionScript
Hi!

I'd like to know if there's a way to close a html window by clicking a button of a .swf that is included in it.

Thankx!

Actionscript For Closing A Window?
i want to create a button that the user can click on to close a pop up window instead of cliking on the window title bar ....anyone know the actiuonscript...can it be done?

the actionscript i used to open it was ...

on (release) {
getURL ("javascript:NewWindow=window.open(' url adress/AA3_1C.FLA.swf','newWinIntegrated','width=800,heig ht=600'); NewWindow.focus();");
}
can anyone help on this one ....opening a new window is fine, need to now get the closing actionscript
thanks

What's The Actionscript In Closing A Window?
What's the actionscript in closing a window? please provide a sample, thanks.

Closing A Browser Window Using Actionscript
how do you close a browser window using action script?

Popup Window Closing To Main Window?
I can close the popup window of my flash intro, but I want to go to another html page in the main window of my site.
Can anyone help me? Thanks.

Closing Window - Javascript:window.close();
Hello all

I'm trying to use the getURL("javascript:window.close()"); code on a button to close my HTML window. But after I publish the file if I click on the button nothing happens.

Does anyone have any idea what is going wrong? Do I need to add another file to the folder where my SWF file sits? Or is there an Internet Explorer setting or something that is disabiling this?

Thanks
MMH

Closing A Flv Player
Hi,
I have a HTML web page, where the flv file is getting loaded into a DIV that contains the flash player.
In the page I have a HTML text link called 'watch the movie'. When I click the hyperlink the flv vdeo file is loaded to the page via the player.
The problem is, it is geting loaded correctly but if I close the DIV that contains the flash file from a text link (again a HTML image button) and clik the 'watch the movie' button agai it is not starting from the beginning but from the position where it has last closed.
I want every time i click the 'watch the movie' button it should start from the beginning.
I think the problem is that the close button which is used now is nothig but a function to 'hide' the DIV thatcontains the flash file, so it merely gets hidden when close button is triggered but its still streaming in the page, though remains hidden.

Please help me. what i want is something like :
1. The flv vide should load into the player from a HTML hyper link
2. On the close the video movie should unload or close
3. On click again it should start from the beginning not where its ended.

Thanks a lot.

Closing A Pop Up Window
Simple question and I know there is a simple answer.

I know how to make a window pop up but i need to make a window close after the movie has finished playing.

cheers

Closing A Window
Okay okay here it is....i have a link on an HTML page that opens a swf file....not html file.........up full screen. now i've been trying to make a button in the swf file that will close the screen.....how do i do that? or can i not do that instead i need to do something with closing the swf file? i really need help on this guys please help me out {=O)

Closing Window From The .fla ---------
I am making a CD presentation. I need to close the .fla from a button in the movie. can i use some sort of
" javascript:self.close() " code?.. keep in mind that i will not be using this with browser window. just the flash .fla projector file. thank you.

Closing A Pop Up Window
Hey there...

Easy one.

How do I get a button in my flash movie to close the browser window the flash piece is sitting in.

i.e Main window opens a file called 'popup.html' This popup.html file has my flash movie. I want the button in the flash movie to close the popup.html and go back to my original main window.

Cheers
Joe

Closing Window
Hi All...

Can someone help me with getting a button to close window. I was told the actioscript is like Javascript window.close but where do I put that? In Flash 5 there doesn't seem to be an action for this...

Please help...

Thanks
Hichame

Closing A Pop-Up Window
Hi everyone,
I am a flash 4.0 user, could someone please tell me what the command is in closing a pop up window assuming that there is a button called: Close Window.

Thanks!

Closing A Window
I need a button in my movie to close the pop-up window the movie appears in. What script should I use (not fscommand)

Thanks

Closing A Window
I need a button in my movie to close the pop-up window the movie appears in. What script should I use (not fscommand)

Thanks

Closing A Window
It's probably been asked before, but I need to make a "QUIT" button that will close the window being viewed. This may be a simple process, but I've looked all over, and haven't been able to find a way.
Thanks.

Closing The Window
I have a window with a flash movie in it. I have so info that i am posting to a php page.
on the submit button in flash i have a getUrl with a post.
How can i close the window that contains the flash after it has posted the variables??

Closing Pop-up Window
Hi! I have the code to make a pop-window, but I am looking for the script on closing it with a flash button. I have already checked out moock's website and found it confusing. Would appreciate any help.
Regards,
CityKitty

Closing Window
hi there.. .

i need help with a very simple flash bit of actionscript! i have a pop up window in html that contains a flash movie, within that movie is a button, 'close window', upon clicking this i want the pop up window that contains the flash movie to close.. . could someone please help?

many thanks in advance.. .

tasviN

Window Closing Itself
Quick question.
I have a main movie, with buttons that load an external movie.
I want to create a button in the external movies that can close itself.

Thanks!!

Closing Window
hello there i have a question im opening a popup window with a flash animation i whant that at the end of the animation it close automaticly.......

how can i do it, what action do i have too put on the las frame.

thanks

Closing Pop Up Window
Hi there,

I have a game which is runing on the Internet, in a
pop-up window from a website. When someone finish playing, on exit button I have to put some "close browser window" command", so the only window that is open is the main one.

Do I use java script in html page or can it be done from Flash5?

Thanks

Closing Window
Hi!
Can anyone tell me, how to get rid of "The web page you are viewing is trying to close the window. Do you want to close this window?" when I am trying to do so?
(with getURL("javascript:self.close();");)

Closing A Window
Ok, so I have a movie clip titled parkLodge and it is a window with a close button. When the close button is it I want it to do just that. Shouldnt there be a way to unload this movie clip? And the same for the button the user pushes to open it. How do you code that? Once again I assumed loadMovieclip pardLodge. Nope. Can you help?

Closing A Window...
Ok, here's the scenario:

I have a flash movie that loads in a pop up window. I want a close button in that flash movie that will close the pop-up window. Anyone got any ideas?

Cheers,

Closing A Window
Hi,
Is there a function or some way in Flash MX to close the window automatically when the user click a button or when the timeline reaches a certain frame.
I don't want the user to click the X on the top of the window to close the window, but I want it to automatically close by itself for a giving condition.

Thanks,
Syed

Closing Window
When I open a file in other window (get url,_blank) what script should i put on the button which is supposed to close this new window?? Button is placed in new window itself. If this Question sounds dumb, bear with it but plz answer.

Closing Window?
Hi,

Some body know the script for a button to close its own window (html).

Thanks!

Window Not Closing.
I have made my own pop up windows that have min and max buttons on them, I am loading each window into a container on level0. My problem is that when these windows are loaded into the container the min and max buttons do not seem to work. Where as they worked previous to this when I was just loading them into level 10 and also work when I test the .swf singly(without loading into the container). What I am wondering is, do I have to target these popups in a diffrent way than I did before?

Closing Window
Hi,

I've used the following code on a button to open a new window:

on(release){
GetURL("bob.swf", "_blank"); // Opens bob.swf in a new window
}

Nice, the above code works.

Next i used the following code on a button to close the window:

on(release){
getURL("java script:window.close()");
}

The above code given to me does not work to close the window.

Please can anyone give me the correct code to close the window, its driving me nuts!

Cheers!

kkhans

Closing Window
Hi,

I've used the following code on a button to open a new window:

on(release){
GetURL("bob.swf", "_blank"); // Opens bob.swf in a new window
}

Nice, the above code works.

please can anyone give me the correct code to close the window using a button, its driving me nuts!

Cheers!

kkhans

Closing Window
Hi,

I've used the following code on a button to open a new window:

on(release){
GetURL("bob.swf", "_blank"); // Opens bob.swf in a new window
}

Nice, the above code works.

please can anyone give me the correct code to close the window using a button, its driving me nuts!

Cheers!

kkhans

Closing Window
how do I code a button to close the swf file?

Closing Window After Another One Pop's-up
hello!!!

can i automatically close a window after pressing a button which causes a pop-up of another window?

or is it possible to define the size of a window without pop-up?
I'd like to have a start window with a defined window size and the ability to pop up windows from this start window

hope you understand what i mean and can help me

thx

Closing A Window
Hi There,

I was wondering if actionscript had a property similar to the javascript window.close() property?

I have a flash movie that is in a popup and I wanted to know if I can have a button that closes the window down whene it's clicked?

Sean

Closing Window
...i don't know how to write a command to close projector window when I click my close button (for interacitve cd)...

Closing A Window
I've made a site in which opens in the browser, the user clicks enter and that window closes and a popup window of set size opens. This works ok in IE, in Safari the first window doesn't close and the popup has scrolls unless the window is dragged open a bit, and in Netscape it's OK except the first window doesn't close. Is there different code to go in for each browser. I've just realised this is an html problem, but would appreciate any help.

Closing The Window
I'm sure this is an easy question for most of you but since I'm new to Flash I haven't been able to figure it out yet.

What action do I need on my exit button to alllow the user close the window? In other words, when they click the exit button the window the flash file was playing in goes away.
Thanks!

[F8] Closing A Window
Hi, If I use attachMovie to load a new window, what should I use to unload it? Could I just use the _visible = false property??

Closing Swf Window - AS3
Hey /wave

I have been searching the web for hours trying to find the right code for AS3. So I'm hoping you can help me to get the right piece of code.

So I have a background element which I press button and it loads a swf on top of the original swf. The one which loads is a child and I have a 'X' button which I want to close and I have no idea what the code is. Once the 'X' button is on say a mouse down it closes the swf and you can still see the original which is below it.

I hope I have explained it so you can understand me

Thanks for the help.

Closing A Window
this is probably a really simple code, (it might be javascript i dunno)... but i want a simple 'X' button that will close my window when the user clicks it.
what code will be applied to the button?


cheers peeps

cal

Closing A Pop Up Window?
I have a centered pop up window and want to put a button on it, to close it.
Even though there is always the built-in button - for some reason people still want a 'handmade' one.

I can do this in html/dreamweaver. but is it possible from inside flash?
thanks for any help.
max

Closing A Window
--------------------------------------------------------------------------------

this is probably a really simple code, (it might be javascript i dunno)... but i want a simple 'X' button that will close my window when the user clicks it.
what code will be applied to the button?


cheers peeps

cal

--------------------------------------------------------------------------------

Closing Window
Hai

Anybody knows the actionscript for closing window in flash.

with regards
nazam

Closing Window
Hello,
I am a newbie to flash and want to compliment you on this great site it has been a big help to me. Now I have a question that I can't find an answer to on this site.

I am working on a website that is part flash and part html only no flash.

I have an entry page where the user can choose flash or html. The entry page's window is "main2".

When the user clicks on the flash entrance a borderless window named "main" is opened where all the flash pages go....there are 5 pages to view.

I also have text links on the bottom where the user can go to the html part of the site that loads in the initial window "main2".

1st question is how can I change the focus of the windows so if the user clicks a page that loads in the "main2" window it is on top of the borderless window.

2nd question is how would I code it so once my last flash page is viewed the user can close that window by clicking a button....instead of the X in the top corner being the only way to close it.

WHeh...any help would be much appreciated.
Thanks
Aflasher

Closing A Pop Up Window?
I have a centered pop up window and want to put a button on it, to close it.
Even though there is always the built-in button - for some reason people still want a 'handmade' one.

I can do this in html/dreamweaver. but is it possible from inside flash?
thanks for any help.
max

Copyright © 2005-08 www.BigResource.com, All rights reserved