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








Simple Close Window Script That Works With All Browsers?


Hello,

I need some code that will close a browser window when a button is clicked in Flash. The following code works fine for IE but not Mozilla:

getURL("javascript:window.opener=self;window.close ();");

Does anyone have some code that works with all the browsers?

Thanks




FlashKit > Flash Help > Flash ActionScript
Posted on: 09-12-2005, 09:56 PM


View Complete Forum Thread with Replies

Sponsored Links:

Simple Close Window Script
A simple close window scritp would be something like this?self.close()", "_self");
_
_
_ can someone post something up pretty simple?

View Replies !    View Related
A Simple Question. What Is The Action Script For A Button To Close A Web Window.
There is a code. Don't say there isn't because you could close a web page with a flash button with a flash action script to close the window its in. Please help...Answer back soon....I NEED THE SCRIPT.

View Replies !    View Related
Works On Mac Browsers But Not Windows
I recently published some a few small flash slide shows. They work fine on my machine, and on all of my mac browsers. But on some windows machines the flash simply won't play (even though I install flash 6 player).

Anyone have any ideas how this could be?

Is it how I'm publishing out of Flash?

Thank you for any comments.

View Replies !    View Related
Works In Flash But Not In Browsers (as3 Cs3 Mac)
I build this simple snake game from a web tut
it functions correctly in the flash test envrioment
but when it is loaded in a browser (html or swf) (ie firefox safari mac and xp)
some of it works but the keyboard navigation does not work
I contacted the author of the tut
And when I use his fla files I get the same result
it does not make sense to me that the it works when testing but not in the browse
any sugggestions?

View Replies !    View Related
Swf Works In IE Bou Breaks In All Other Browsers
I have a project I am working on, which loads swfs in each section (code is below), it works just fine in IE but not in firefox/opera/safari. I am thinking we are looking at a difference in how the activex flash player is treating it vs. the plug-in version. I've run into problems a problem very similar to this before, also had to do with loading functions.
Running up against a deadline so any ideas would be great.

Here is the offending code:


//varis
var loading=false;


_global.loader= function(load,ary){//load is what to load and ary is the array that holds if it is already loaded or not

//if there is a click during a load
if (loading==true){
delete onEnterFrame;
_root.preloader.removeMovieClip();
}
loading=true;
//if not already loaded
if (ary[3]==false){
loadMovie(load,_root.imageframe.holder);
attach_preloader();
onEnterFrame = function (){
percentdone = Math.floor ((_root.imageframe.holder.getBytesLoaded()/_root.imageframe.holder.getBytesTotal())*100);


if (_root.preloader._currentframe >=100){
_root.imageframe.holder.play();
ary[3]=true;
loading=false;
delete onEnterFrame;
}
}
}

//if already loaded
if (ary[3]==true){
loadMovie(load,_root.imageframe.holder);
onEnterFrame = function (){
percentdone = Math.floor ((_root.imageframe.holder.getBytesLoaded()/_root.imageframe.holder.getBytesTotal())*100);
if (percentdone >=100){
_root.imageframe.holder.play();
loading=false;
delete onEnterFrame;
}
}
}
}

//attaches the preloader
attach_preloader= function(){
_root.attachMovie ("lake_preloader", "preloader",10000);
_root.preloader._x=594.6;
_root.preloader._y=113.5;


}

View Replies !    View Related
Tab Order Works In Player- Not In Browsers..Ack
Anyone know why trying to set tab order would work in Flash player but not from in a browser window?

I have seen a number of ways to set the order, the following is what i choose:

onClipEvent (keyDown) {
if (Key.isDown(Key.TAB)) {
// fixed rates //
if (Selection.getFocus() == "_level0.MCvarBoxes.fixRone") {
Selection.setFocus("_level0.MCvarBoxes.fixRtwo");
} else if (Selection.getFocus() == "_level0.MCvarBoxes.fixRtwo") {
Selection.setFocus("_level0.MCvarBoxes.fixRthr");
} else if (Selection.getFocus() == "_level0.MCvarBoxes.fixRthr") {
Selection.setFocus("_level0.MCvarBoxes.jumRone");
} ....etc. etc.

The list is quite long. It works fine directly in Flash player. Does not from a browser.

Thanks for your help!!

View Replies !    View Related
Preloading Problems - Works In Some Browsers, Others Not
Hi

Could anyone that knows actionscript and preloading functionality pretty well please have a look at my fla, and perhaps explain why it seems to work well in some browsers and not in others. In fact, I have tested the live version in all my browsers (Opera, Safari, IE & Firefox - all on a MAC operating in OS X) and I have no problems, however, when i checkon other computers, I often, and more importantly my client often, experiences 'sticking' where the preloader gets stuck on a certain number (% loaded) and continues to do nothing and not load at all....this is so frustrating and is happening with other sites also that I have used the same preloader on.

"Please Heeelp"

here's the live page: http://www.ninarumboughphotography.com
(you may not even seethe preloader if it works well on your computer)

Here's my zipped uploaded FLA: http://www.ninarumboughphotography.c...reload.fla.zip


Many Thanks in advance,

Cheska

View Replies !    View Related
PHP Contact Form Works With Some Browsers?
Hi I have got my contact form working with php, but I have found that it only works with some browsers/computers. For example on my Mac with Safari it is fine, on my Mac with Firefox it doesn't work.

On my girlfriends Macbook with Safari it doesn't work.

Is it something to do with settings within the browser?

URL = www.matt-f.co.uk

Thanks Matt

View Replies !    View Related
Can't Play Movie In IE But Works In Other Browsers - HELP
Hello. I've managed to get my homepage movie to play in Safari and Firefox but it will not play at all in Internet Explorer. All I get is a white box where the movie should be. When I right click, it says movie not loaded. I've read posts with similar issues but still can't get mine to work. Not sure if it's my PC as I am running Vista and am having the hardest time confirming that the Flash Plugin has been loaded in IE. Can someone help me out??? Much appreciated...







Attach Code

<title>EcoMovie</title>
<meta name="author" content="EcoGanica">
<meta name="description" content="Natural & Organic Beauty Products">
<meta name="keywords" content="beauty, natural, organic">
<body bgcolor="#FFFFFF">
<left>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
id="Movie"
width="800" height="200"
>
<param name="movie" value="Movie.swf">
<param name="bgcolor" value="#FFFFFF">
<param name="quality" value="high">
<param name="standby" value="Movie is loading">
<embed src="/images/Movie.swf"
type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
name="Movie"
width="800" height="200"
src="Movie.swf"
bgcolor="#FFFFFF"
quality="high"
standby="Movie is loading"
>
</embed>
</object>
</left>
</body>
</html>

View Replies !    View Related
Flash Site Looks/works Different In Different Browsers?
This might look like a site check, but I've seen my site on 4-5 different computers, and it functions differently.

I made it on a Mac, it looks and works fine here. But on other people's Macs, the throbbing button I built, just doesn't show up.

It works fine on Windows, in Firefox, but is missing buttons and can't read Verdana?

I attempted to downgrade the export to v7, but it wouldn't let me, giving me an output warning:Enhanced fill not supported in current player version.

But the button it's referring to is not the throbbing button that's giving me problems.

I'm not a Flash expert, but I assembled this pretty carefully, do you need to see button code, or anything?

http://www.bigcity.ca/am

View Replies !    View Related
Swf Works Different In All Html Browsers When Published
Hi All,

If anyone can solve this they are a life saver.

When I test my movie in flash (apple and enter) my swf file works fine. When I publish it and try it in an html document I find that when I am clicking on the buttons in my file, instead of my preloading bar appearing, the file just waits until the image is ready then displays it. Why is this?

Here is a link to my fla file.

http://www.marklawrencenet.com/Accolade.fla
(only the first 3 buttons are linked to images at the moment)

If you look at the code on the second frame, you will see the links to each picture will not work on your home computer as they are on my server. If you can change these to remote images then they will link up)

You can also view the file loading up as part of the final product (incorrectly working) at
http://www.marklawrencenet.com/

Click on portfolio then the accolade link. What you will see here is that the images load but minus my individual preloaders that load CORRECTLY in the SWF file.

Many thanks

lawrenceging

View Replies !    View Related
Problem Loading A SWF In IE; Works Fine In All Other Browsers
I've been having a problem getting this one particular swf to load in IE. I've tried various versions of IE, including 7, I believe with the Flash 9 plugin. In all cases, the swf gets stuck trying to load, until it pops up a window saying, "A script is causing Flash Player 9 to run slowly. Would you like to abort?" This in itself seems like a typical infinite loop problem, only the swf works just fine under every other browser I've tried, so in fact I only just recently realized it was causing a problem on IE. Firefox, Safari, Opera; they all run it flawlessly. Is there simply a problem with the IE version of the Flash plugin? I'm not sure this information is relevant, but the swf itself is written in Actionscript 1, and basically it loads and plays levels to a game which are stored in text files on my server.

View Replies !    View Related
Flash Video Works In Player, But Not In Browsers
Hi. I've embedded a short video clip into a Dreamweaver HTML page. I've done this several different ways, but still can't get the video to play in any browsers (IE7, IE6, Firefox,ect.). I want a progressive download of the video.

I've inserted the video using Dreamweaver's Media>Insert option.
I've created a .swf file using Flash and inserted that into the HTML.
I've used a <script type="text/javascript" src="video/swfobject.js"></script> to embed the file.

None of the options have worked. The .swf video plays perfectly in the Flash Player, but not the browser. I can see and hear the video and see the play-back skin under the vido, so I know it works. I can see the .swf skin (the skin that has the play-button) in my HTML document. So the .swf is showing up fine, but for some reason the video isn't playing.

Any ideas?

View Replies !    View Related
Site Works In All Browsers But Firefox 1.5 (macOSX)
Hey all:

so i used browsertest to check a simple page. it works in all pages except with firefox 1.5 for mac OSX. any ideas? just the background doesn't show up. it's kinda odd. here's the link:

http://mark-stuckert.net/TestBook/

any help would be appreciated!

thx,
decisionman

View Replies !    View Related
Script Crashes IDE And Flash Player But Works In Browsers
I'm building a game program and I've got a script that loads an external swf, and then duplicates the clip for the user to play. It worked until a few days ago when I reinstalled my OS (Mac OS 10.4.11) to fix an unrelated problem. The strange thing is that I had reinstalled the browser plugin to fix a related problem. Now the code works in the browser, but crashes the IDE and the Flash Player every time. I called Adobe Support but they were no help since it's "project related." I've reinstalled CS3 and Flash itself, but nothing helps.

Here's the code that crashes:


Code:
// INITIALIZE LOADER AND ADD TO STAGE
var myLoader:Loader = new Loader;
addChild (myLoader);
myLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, isLoaded);
// DUPLICATE CLIP WHEN LOADED
function isLoaded (event:Event):void {
event.target.content.width = 100;
event.target.content.height= 200;
// THIS IS THE LINE THAT CRASHES
var copyClass:Class = Object(event.target.content).constructor;
var newThing:DisplayObject = new (copyClass);
addChild (newThing);
newThing.x +=50;
}
myLoader.load (new URLRequest('coloring/coloring1.swf'));

View Replies !    View Related
Script Crashes IDE And Flash Player But Works In Browsers
I'm building a game program and I've got a script that loads an external swf, and then duplicates the clip for the user to play. It worked until a few days ago when I reinstalled my OS (Mac OS 10.4.11) to fix an unrelated problem. The strange thing is that I had reinstalled the browser plugin to fix a related problem. Now the code works in the browser, but crashes the IDE and the Flash Player every time. I called Adobe Support but they were no help since it's "project related." I've reinstalled CS3 and Flash itself, but nothing helps.

Here's the code that crashes:

// INITIALIZE LOADER AND ADD TO STAGE
var myLoader:Loader = new Loader;
addChild (myLoader);
myLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, isLoaded);
// DUPLICATE CLIP WHEN LOADED
function isLoaded (event:Event):void {
event.target.content.width = 100;
event.target.content.height= 200;
// THIS IS THE LINE THAT CRASHES
var copyClass:Class = Object(event.target.content).constructor;
var newThing:DisplayObject = new (copyClass);
addChild (newThing);
newThing.x +=50;
}
myLoader.load (new URLRequest('coloring/coloring1.swf'));





























Edited: 05/01/2008 at 12:25:08 PM by activadesign

View Replies !    View Related
Flash And Php Upload Applet Works On PCs Fine But Not Mac Browsers
I have a custom made flash upload applet to go into my main application. It allows users to queue up a large amount of files and upload them all at once. The system works great on all PC browsers. However, on Mac browsers, it doesn't work properly. The first file gets stuck and is never completed. Here is the even more frustrating part: it works on the original coders server on my Mac, but not on my server where I need it to.

Original Coder's Sever - http://oleh.iteh.com.ua/nirvanix/. Here is his php info page: http://oleh.iteh.com.ua/phpinfo.php

Our Server - http://clevertools.com/temp/flash_upload/. Here is our php info page: http://www.clevertools.com/phpinfo.php

I could really use some help here. My coder doesn't have a Mac so it is making it impossible to fix. I was hoping some people here might have some insight. I think that possibly it could be a server configuration.

I also tried this on three different servers from friends. For example, on http://www.caneidia.com/temp/CT/ the first file actually gets sent to the server, but then gets stuck and doesn't attempt to try the second one. Here is his php info: http://www.caneidia.com/temp/CT/phpinfo.php

So that makes three different scenarios on Macs. 1) My server doesn't even get the first file to the server and it gets stuck. 2) Coders server works fine. 3) Friends server sends first file then get stuck.

Here is the source and compiled code.

Flash Uploader Files - http://clevertools.com/temp/flashUpl...2008-11-27.ZIP

Again, I really really appreciate any help. This is holding up the project and no one on my team can seem to figure it out. Thanks!

View Replies !    View Related
Flash And Php Upload Applet Works On PCs Fine But Not Mac Browsers
I have a custom made flash upload applet to go into my main application. It allows users to queue up a large amount of files and upload them all at once. The system works great on all PC browsers. However, on Mac browsers, it doesn't work properly. The first file gets stuck and is never completed. Here is the even more frustrating part: it works on the original coders server on my Mac, but not on my server where I need it to.

Original Coder's Sever - http://oleh.iteh.com.ua/nirvanix/. Here is his php info page: http://oleh.iteh.com.ua/phpinfo.php

Our Server - http://clevertools.com/temp/flash_upload/. Here is our php info page: http://www.clevertools.com/phpinfo.php

I could really use some help here. My coder doesn't have a Mac so it is making it impossible to fix. I was hoping some people here might have some insight. I think that possibly it could be a server configuration.

I also tried this on three different servers from friends. For example, on http://www.caneidia.com/temp/CT/ the first file actually gets sent to the server, but then gets stuck and doesn't attempt to try the second one. Here is his php info: http://www.caneidia.com/temp/CT/phpinfo.php

So that makes three different scenarios on Macs. 1) My server doesn't even get the first file to the server and it gets stuck. 2) Coders server works fine. 3) Friends server sends first file then get stuck.

Here is the source and compiled code.

Flash Uploader Files - http://clevertools.com/temp/flashUpl...2008-11-27.ZIP

Again, I really really appreciate any help. This is holding up the project and no one on my team can seem to figure it out. Thanks!

View Replies !    View Related
Popup Window, Then Pop Another And Close At The Same Time, How To Close?
Hello everyone!!!

Well, i am trying to make a button that first opens a popup and then it close its own window...


iahace the code for the first pop up opener, but cant make it work for the "autoclose window"

this is the script in the button




on (press) {
getURL("javascript:NewWindow=window.open('encuesta .html','Stilegno','width=550,height=450,toolbar=No ,location=No,scrollbars=No,status=No,resizable=No, fullscreen=No');NewWindow.focus();void(0);");
}

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


Any Idea?


Thanks!!!

View Replies !    View Related
Close.window Script In Flash Button Quits My Browser Window Or Crashes System
Can somebody please help me?
I have a javascript attached to a button in a .swf file to close the browser window it is in.
The code which was given to me yesterday by senocular is

on(press){
getURL("javascript:window.close()")
}
__

however if you try it IE will unexpectedly quit or bomb my computer.
I tried it in Netscape and it didn't crash.

You can refer to my site http://www.valdesdesign.com
after intro go to print button and then to editorial button.
Editorial opens new window with editorial.swf inside. Click on top right button to close window and see what happens.
Is there something I'm doing wrong? Please help me.
Thanks

View Replies !    View Related
AS: Close Current Window And Open Link In Father Window ?
Please, guys, can anyone lead my hand in this?

I have produced a flash movie. the wholw are is an invisible button which
should close the animation and in father window open a link.

The flash movie pops up automatically when page is loaded. I used this:

on (press) {
getURL("javascript:self.close();window.opener.loca tion.href = 'http://www.unibanka.sk/servlet/com.elline.pb.Page?page=alfa_ts'");
}


... but am not sure if this would work exactly how I want it.

Thanx

View Replies !    View Related
Cant Make The Loader.close() Works
Im using a button to load a swf into stage and another to close the connection just to test the function and it keep showing me the progress of the download and call my oncomplete function. this is my external class


Code:

package
{
import flash.events.Event;
import flash.events.ProgressEvent;
import flash.display.Loader;
import flash.net.URLRequest;

public class file_loader
{
public var my_file_loader:Loader;

public function file_loader():void
{
this.my_file_loader = new Loader();
my_file_loader.contentLoaderInfo.addEventListener(Event.COMPLETE,on_file_loaded);
my_file_loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,check_progress);
}

public function on_file_loaded(evento:Event):void
{
trace("file loaded");
}

public function check_progress(evento:ProgressEvent):void
{
var loaded:Number = evento.bytesLoaded;
var total:Number = evento.bytesTotal;
var percent:Number = loaded/total;
trace(percent);
}

public function load():void
{
my_file_loader.load(new URLRequest("myfile.jpg"));
}

public function close():void
{
try
{
my_file_loader.close();
}catch(error:Error){}
}

}
}
The usage for the class is this


Code:
var my_file_loader:file_loader = new file_loader();
my_file_loader.load();

var my_button:MovieClip = this.button_onstage;
my_button.addEventListener(MouseEvent.CLICK,close_load);

function close_load(evento:MouseEvent):void
{
my_file_loader.close();
}

View Replies !    View Related
Flash Reload Parent Window + Close Window
Hi i got a quesiton.

I have an asp page that will open a new asp page in a new window that contains a swf file with a button.

When the user clicks the button i want to close that window and reload the parent window. Any ideas on how to achieve this in flash ?

Thanks

View Replies !    View Related
Communication Between Two Window-browsers
Hi Flash World;

My project is going on, but now I have to stop because I have a problem. I would like to know if it's possible to do this:

I want to run two movies in two independent window-browser, and the doubt is how I can communicate one movie with the other?, if they aren't running in the same window, is possible to pass from one to the other some variables? If it's possible.... some explanation about how to do it would be incredible because I don't know how I must continue with my project....

Thank you for your time reading this mail...

View Replies !    View Related
Getting The Browsers Window Position
does anybody know how do i would get the browsers window position into flash, i know how to move it but how do i register the browser position?

View Replies !    View Related
Centering Window In All Browsers ?
Can anyone provide me with the script for centering my main window on the browser when it opens. I have a flash page embedded in an html and it resizes on load. By default it goes into the upper left hand corner area. I have seen the script before, but could not remember it, anybody?

View Replies !    View Related
Move The Browsers Window
i need to shake the window of the browser when i click a button in a flash movie...

i think it easy... somebody knows how ??????

thanks

View Replies !    View Related
Move The Browsers Window
i need to shake the window of the browser when i click a button in a flash movie...

i think it easy... somebody knows how ??????

thanks

View Replies !    View Related
Getting The Browsers Window Position
does anybody know how do i would get the browsers window position into flash, i know how to move it but how do i register the browser position?

View Replies !    View Related
Window Resize..messes With Browsers
ok so heres the script Im using to resize my website. However whenever u restart the internet browsers the windows always at that resized size...How come the browser always remember that size?

<script language="JavaScript" type="text/javascript">
window.resizeTo(850,1640)
</script>

View Replies !    View Related
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

View Replies !    View Related
How To Strech MovieClip To Browsers Window Size ?
1.How to strech movieClip to browsers window size ?

2.And another question, how to strech it so, that only the borders will strech, not the content... I mean that I need a movie clip with 100% width and 100% height, but the content of the movie clip should be for example 800x600, and is it anyway possible? (I need this to make full screen flash movie where the whole movie will be fading out, but imagin what will be with the content on 1600x1200 screen resolution it will be the same as resolution... It's not good)

View Replies !    View Related
[MX] POST Method Not Hiding Variable In Browsers URL Window?
Can anyone please help me with this login string? It’s working fine except I thought the “POST” method would hide my variables in the browsers URL window?

on (release) {
getURL("http://www.my_site.com/amember/member.php?amember_login="+_root.userName+"&amembe r_pass="+_root.passWord+"&submit=Login", "_self", "POST");
}

Thank for any help in advance

View Replies !    View Related
[MX] POST Method Not Hiding Variable In Browsers URL Window?
Can anyone please help me with this login string? It’s working fine except I thought the “POST” method would hide my variables in the browsers URL window?

on (release) {
getURL("http://www.my_site.com/amember/member.php?amember_login="+_root.userName+"&amembe r_pass="+_root.passWord+"&submit=Login", "_self", "POST");
}

Thanks for any help in advance

View Replies !    View Related
Works When Previewed From Flash, But Not In Browsers/flash Player?
I'm totally confused by this. I do hope it's a newbie error and that there's a simple fix.

FLA source: http://www.arcadexl.com/randomFloor.fla
Browser output: http://img293.imageshack.us/my.php?i...omfloor3xe.swf

I created a Flash file that scrolls a floor across the screen which randomly leaves gaps using ActionScript mainly. However, the only time when you can actually see the floor scrolling across is when you do File -> Preview -> Flash.

This is the method I've used to display the tiles:
Insert -> New Symbol -> Movie Clip (blank, linkage identification as "floorContainer")
Insert -> New Symbol -> Movie Clip (100x30 black rectangle in it, linkage identification as "floorTile")
Used the following code to set up the first bit of floor:
Code:
var z = 5;
var floorTiles = new Array();
var frequencyOfGap = 0;
var antifrequencyOfGap = 100;
var currentFloor = [1, 1, 1, 1, 1, 1];
var floorMoveSpeed = 10; // Divisible into 100
var firstTileId = 0;

_root.attachMovie('floorContainer', 'floorContainer', ++z);
floorContainer = _root.floorContainer;
floorContainer._x = 0;
floorContainer._y = 400;
// Build start map
for(var i=0; i<6; i++) {
if (currentFloor[i] == 1) {
floorContainer.attachMovie('floorTile', 'tile'+i, ++z);
floorContainer['tile'+i]._x = (i-1)*100;
}
}

Then used this in a repeatedly entered frame to move the floor and choose the next random tile:
Code:
// If map needs adding to...
if (floorContainer._x == -100) {
// Delete furthest left tile
removeMovieClip(floorContainer['tile'+(firstTileId++)]);
// Reset position of container
floorContainer._x = 0;
// Move last 5 tiles back one
for (var i=1; i<=5; i++) {
currentFloor[i - 1] = currentFloor[i];
floorContainer['tile'+(firstTileId+(i - 1))]._x -= 100;
}
// Generate a new tile at random
var nextTile = Math.round(Math.random()*antifrequencyOfGap);
nextTile = (nextTile<frequencyOfGap++) ? 0 : 1;
currentFloor[5] = nextTile;
if (nextTile == 1) {
floorContainer.attachMovie('floorTile', 'tile'+(firstTileId + 5), ++z);
floorContainer['tile'+(firstTileId + 5)]._x = i*100;
}
} else {
// Or if we just need to slide the floor along
floorContainer._x -= floorMoveSpeed;
}


Otherwise, nothing appears - in IE, or Flash Player.

Any ideas?

View Replies !    View Related
Close A Window
Hello,

I have just started using flash .
I want to make a popup window that closes itself 5 seconds after it has appeared.
Can somebody help me .
Mayba can I use the window.Close() javascript method but I dont't know how to do that with flash. DO I need something to use javascript with it ?

Thanks,

View Replies !    View Related
Close Window
how do I close the flash window from a close button within it?
I am trying it using the
on mouse event
get url
javascript:close()

it is not working.
Thanks in advance

View Replies !    View Related
Close Window
I have a flash site running in a full screen window, the only question with the full screen is how do i close it? What script do i put on a button or... yea, how do I close the window from the flash movie?

Any suggestions?

I'm not very far into it but it can be viewed at

http://test.firstlink.com/denveraudio

-Rj

View Replies !    View Related
Close Window?
Is there a way to have a close window command in Flash?

View Replies !    View Related
CLOSE WINDOW
I want a button to close the current window a flash movie is playing in, how do I do this, by closing down window i meen a browser window!

/tank

View Replies !    View Related
Close Window?
I want a button to close the current window a flash movie is playing in, how do I do this, by closing down window i meen a browser window!

/tank

View Replies !    View Related
Close Window
Hi
Could any one help with the script to close the browser window.
See i have this file and it has an exit button when someone clicks on it it should close the file & the browser window from which its playing

Thanks rohit

View Replies !    View Related
How Do You Close The Window?
what actionscript would I need if I wanted to make it so you can push a button to close the window the movie is in?

View Replies !    View Related
Close Window
Does anyone know how to close a window from inside Flash?

In my project I am opening a smaller window from an html document. Inside this smaller window I am playing a flash movie. I need to have a button inside the Flash movie that can close the window it is in.

I know this can be done using javascript but need some help.

Thanks.

View Replies !    View Related
Close Window
I would like to have a intro animation that closes (it is a popup) if you press the skip button. What would the script look like to close a window?
Thanks.

View Replies !    View Related
Close Window
hello all i have a question how can i close browser window from a flash button



thanks

View Replies !    View Related
Close Window
I cannot remember the code for closing a window with a button I think you assign window.close to the button but I can't remember what else goes with it.

View Replies !    View Related
CLOSE WINDOW
HI COULD SOMEOME TELL ME WHAT ACTIONS I NEED TO GIVE TO A BUTTON IN ORDER TO CLOSE THE WINDOW

THANKS.. QETRET

View Replies !    View Related
Close Window
hi,
i cant give a close action to my flash movie
when i put
javascript:window.close()
command ,it doesnt activate,
ps help
thanks

View Replies !    View Related
Close Window
Does anyone know how to close a window when the movie clip is finished playing. Can it be done with Action Script?
And how?

View Replies !    View Related
Close Window?
ok I know this is a javascript question but I figure somebody here knows the answer!!

If I have a pop-up window that I want to close itself when it loses focus what's the code?

something like:
OnBlur="self.close()";

but it doesn't work!

can anybody help?

or maybe there's something I can put in my main window like
OnFocus="close.all()";
?? ps I'm no coder as you guessed ; )

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved