ActionScript 2.0 :: SWF Buttons - Safari Opens The Same Browser Window Twice?
Nov 6, 2009
The swf buttons on my website open double browser windows in Safari - it's fine in IE and FF, just have this problem in Safari.So, why Safari opens the same window twice?
View 0 Replies
Similar Posts:
Nov 17, 2009
CS3 Actionscript 2.0: I'm trying to get a nested movie clip to open the default mail app. on release. I used the on (release){ getURL("mailto:. which opens the mail window fine, but it also opens a blank browser window (Mac OS). Can someone tell me how to stop this from occurring?
I see this question crops up a lot but after many searches I haven't been able to find the solution anywhere. Forgive me, but I'm new to Flash/Actionscript. My script:
[Code]...
View 5 Replies
Oct 30, 2009
I am having a problem. I found the actionscript 2 code to open a browser window, but it is not working in Safari, or Firefox. I found an old action script 1 file version 5 for the flash player that works just fine, but I am using 8 and actionscript 2 so that doesn't work for me.
View 5 Replies
Jul 25, 2009
I have a .swf I'm inserting at the top of a page in DW. I have a button named "aboutUs_btn" which when pressed needs to load "aboutUs.html. That part works fine, but it always loads the page into a new window. How do I make it load into the same window? I could do this in AS2 with getURL and using _self. Here is what I have:
var aboutUsLink:URLRequest = new URLRequest("aboutUs.html");
aboutUs_btn.addEventListener(MouseEvent.CLICK,aboutUsClick);
function aboutUsClick(event:MouseEvent):void{navigateToURL(aboutUsLink);}
[code].......
View 5 Replies
Jun 12, 2009
i would like that my window opens and closes (opens: scale out; closes: scale in) not by clicking on the button but on the window itself.here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
Grtz,Jan the man
here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
schuifwindow www.truevision.be/other/btn_home.flascroll www.truevision.be/other/scroll.flafotoalbum www.truevision.be/other/foto_album.fla only picture one (left up corner) has a X button (i dont want to use this button)
View 5 Replies
Mar 27, 2006
following situation: a button with AS :
[Code]...
this popup opens in the SAME window and not ina new window. What can I do to let it open in a new window and given the same properties to this new window as above: toolbar=No,location=No,scrollbars=No,status=No etc.... a geturl opens it in a new window but does not give toolbar=No,location=No,scrollbars=No,status=No etc.... properties to the window
View 2 Replies
May 21, 2009
I currently have a website that has a photo gallery. The home page has a link to the actual photo gallery. I'm using the (getURL) to open the photo gallery in a new window, however the new window opens up to the same size as the home page. I would like to shrink down the window size of the photo gallery so the user can still see some of the home page behind the new window.
I know javascript can take care of this problem, but I was wondering if there is a way to do it with Flash? I just need to specify the size of the new window when it opens.
View 9 Replies
Jul 19, 2006
all my getURLs launch the browsers fine, but if the user allready has a window open, the browser launches behind the projector causing the user to minimize and tab over to the web browser. this only seems to happen on a pc.is there any way to attach something to either the first frame of the flash to close any open browser windows? i know this is a bit of an annoyance for me, as well as many others, from a usablitiy standpoint, but this is the last tweak my client is not budging on.[code]
View 2 Replies
Aug 23, 2010
Using CS3
AS 2.0
I have a button that when pressed it opens a url in a new window. Works on Safari great, but not in Explorer.
Code...
on (release) {
getURL("http://www.name of website", "_blank");
}
View 3 Replies
Sep 29, 2005
i've got a form, which i then would like to send using asp (CDO).anyway, it works a dream when i use the following:
GetUrl("processForm.asp",0,"post");
however when u use:
loadVariables("processForm.asp",0,"post");
It does nothing.the problem with GetURL is that it opens the scrpt in another window, which isnt ideal.the code in processForm.asp is:
<%@language = "VBScript" %>
<%
strName = Request.Form("FirstName")[code].....
View 2 Replies
Sep 6, 2009
I've used Greensocks Tween lite to build a photo gallery that resizes with the window browser. The only problem is that when I first open up the window the gallery is not properly scaled to fit the window size. How can I make is so when you first open up the window the movieclip is told to resize to the current window size? Here is my code below.
import gs.*;
import fl.transitions.*;
import fl.transitions.Tween;
[Code]....
View 2 Replies
Oct 8, 2010
I am using this code to send to database however i want the url to submit to the same page. At the moment it opens up a new window
Code:
on(release) {
data_lv = new LoadVars(userScore);
data_lv.score = "100";
data_lv.send("modeight.php?score="+data_lv.score+"", "POST", "_self");
View 3 Replies
Nov 17, 2010
I have a swf that runs in flash player but if i load the swf into anotherit says I have a null variable and fails. It fails if I run in a browser too. I have debugged to the nth degree and cant find any errors as its not showing any cos it runs perfectly. If i add a pre loader component it fails to run...but again perfect even across a network if i run it in flash player
View 1 Replies
Aug 4, 2007
Here is a link to an example of which i am referring.If you rollover anyone of the pictures a pop up image appears..
View 2 Replies
Aug 4, 2003
i am trying to make a flash site, and anyway i got some problems i want to make a button that when pressed opens a window (set size of 500 400) what actions should the button have?
View 4 Replies
May 9, 2004
i have game im doing, and i want it to jump to level 2 upon completing the first level, but the problem is, the level 2 is a seperate swf, i've tried to use
[Code]...
View 3 Replies
Jul 8, 2009
I have a button with some transition/easing on it...and a geturl function. However there is something weird happening, when the button is clicked, it sees the geturl alright, and the browser opens...but cant seem to get any further than that! [code]...
View 1 Replies
Oct 21, 2010
I have created a simple movie and placed it in an 'Under Construction' page. The whole page is meant to be black. When I open the browser a white box shows, where the movie will appear, while it is loading. I want the whole page to appear black.[url]...
View 2 Replies
Aug 7, 2006
I have been using this function for a long time and this problem never occured. When the user press send button it does send the form as email but it also opens my aspx file in a seperate window.[code]...
View 3 Replies
Feb 29, 2012
How do I redirect to a html page when my flash site opens in non-flash browser?
Here is the code I am curently using
<link rel="shortcut icon" href="/77east.ico" type="image/x-icon" />
<!--[if lte IE 8]>
<script type="text/javascript">window.location = 'ebrowser.html'</script>
[Code].....
View 2 Replies
Sep 8, 2009
I would like to know if any of you have had any issues repositioning your browser using safari within flash. I'm basically using the navigateToURL method then passing a anchor tag like this. All other browsers are fine but when using safari on a mac nothing happens.
navigateToURL("javascript:'#'", "_self");
View 0 Replies
Nov 18, 2009
I'm trying to do a popup window that is sized at 300x200 when clicking a button using the following code
var jscommand:String = "window.open('[URL','win','height=200,width=300,toolbar=no,scrollbars=yes');";
var url:URLRequest = new URLRequest("javascript:" + jscommand + " void(0);");
navigateToURL(url, "_self");
It opens up fine except on Safari 3.
View 1 Replies
Aug 30, 2007
flash menu i have create for my web site it works 100% in microsoft explorer but in fire fox or safari i have a problem. The menu is set to transparent as their are drop down menus from main nav bar, in fire fox you can see the text just below the menu bar but cannot touch any links but in explorer you can no problems.This the code:
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="990" height="490" style="position: absolute; top: 70px; left: 0px; z-index:1;" >
[code]....
View 4 Replies
Jul 22, 2010
I have flash component in a website, which shows a preview. There are some UI components overlaid on the preview to allow navigation. Unfortunately it seems that in Safari on Macs, there is a problem:When the user zooms in or out (using the browser based page zoom), my overlaid UI items disappear for some reason. This does not happen on any other platform.I would have though that this zoom function would be something that is taken care of solely by the browser/Flash plugin, however, perhaps there is something I can do to force a 'redraw'?
View 2 Replies
Dec 7, 2010
Can anyone give me a clue as to why this markup works fine in Safari, but not in Firefox?This should load an ugly blue placeholder (which I get in safari) but in Firefox, swfobject just gives me the alternative content.[code]
View 1 Replies
Aug 7, 2006
I've an interactive map to locate some places. Eveything is working fine in pc. but it's not working in safari (Macintosh Machine). While clicking the buttons at the bottom of map, the map is not scrolling to locate the position. As far as I know the browser acts as like a tool to display the flash content. Everything is rendered by flash player. But why it is happening like this. The flash player (Ver 8.0) I've tested is same in PC and Mac machine. This is the url [URL]
View 1 Replies
Dec 17, 2009
I am trying to have a video (New CLip.flv) start when the swf file opens and when it finsihes an image appears with some buttons on it (AS on frame 2). However I keep getting the following error:
[Code]...
View 1 Replies
Apr 18, 2011
I am designing a fairly simple site made up of a swf (AS3) in an html page. I'm relatively new to it all, but was doing ok until recently! The problem I have is this: The swf within the html loads perfectly from my local drive in all browsers, but when published to the remote server does not display correctly in Safari or Chrome... It is fine in Firefox.
To see it correctly, use Firefox and the link below. To see it fail at the preloader (in fact, it distorts the design of the pre-loader and goes no further) use Chrome or Safari. [URL] The site is unfinished, so there are other issues you may find which I am solving, but this is the one of concern.
View 3 Replies
Feb 25, 2010
I run an external script from flash(as3) that opens up an Jquerry thickbox with php tabel (it gets results from mysql db). But when i include some other css for centering my .swf in the middle(both x/y), my jquerry buttons in flash stop working.this is the css code:
div.ex
{
height:600px;
width:930px;[code].....
and the webpage: [url].....(php/mysql in jquerry not yet included, but i tested before)
View 3 Replies
Oct 30, 2009
i have a flash site that links to PDF's with the navigateToURL function which works etc But now i would like Link to rather open up a download window instead of just a new browser window?
View 3 Replies