ActionScript 2.0 :: GetURL - Open On Top Of Current Browser Window
Jul 24, 2006
I am using the getURL function in response to a button event. I need it to open the URL (absolute) in a new browser window, but I need the new browser window to open on top of the current browser window. Right now it's opening behind the current browser window. Below is my code:
on (release){
getURL("absolute URL here", "_blank");
}
View 3 Replies
Similar Posts:
Jun 14, 2010
I am using Flash CS3, AS 2.0 and I have a button with -
on (release) {
getURL ("http://www.axiomaudio.com/store.html", _blank)
}
This is a small banner in an HTML page and I want it to open in the same window instead of opening a new window. I have tried using _self) instead of _blank) but it still opens a new window.
View 6 Replies
May 26, 2009
I am creating a website with a flash menu on each page. I am using getUrl code to target each page but I can't seem to get the pages to open in the same window. If I use '_new' or '_blank' the pages open in a new window as they should but if I use '_self' or '_top' nothing happens.
Code: AS3
aboutBtn.buttonMode = true;
aboutBtn.addEventListener(MouseEvent.CLICK, callAbout);
function callAbout(e:MouseEvent):void{
[Code]....
View 11 Replies
Sep 19, 2007
I am creating a standalone Flash projector in which the user will be able to click a button to view a PDF file, I am using the getURL method to open the PDF file and it opens in my default Internet browser instead of Acrobat Reader, which is kind of expected. Is there anyway to 'launch' to open in Acrobat Reader instead?
View 4 Replies
Oct 7, 2007
I have a menu that navigates my webpage. Say, for instance, I click on the "Home" button, it should take me to the homepage.I want the home page to open in the same window, not another window or tab. So I used this code:
Code:
on (release) {
getURL("http://www.mywebpage.com/home",_self);
}
Yet the homepage opens in a new window instead of the same window. Should I be using the "_self" parameter, or something different?
View 3 Replies
Jul 31, 2003
I have a strange getURL Problem under some windows installations. I autostart a Flash-projector from a CDROM. This file contains some buttons with getURL. When clicking on the buttons, the browser starts and shows a HTML-file from the CDROM.But under some circumstances this won't work. We have found some Windows-installations where we are not able to start the browser by calling getURL.I know, this seems not to be a Flash problem. It looks like a problem in the interaction from a Flash projector and Windows.
View 3 Replies
Jul 1, 2003
Just wondering if anyone knows what I would add to my actionscript for a getURL command to make the browser window that opens up a certain size, in my case, really small.
View 8 Replies
Dec 21, 2006
Is there a work around to the getURL Firefox issue? I am having trouble getting Firefox to open my file from my exe when FF is set to my default browser. If FF is already open, the getURL functions fine. If FF is closed, I have to click on my button twice in order to open the file (ie, click once opens a blank window, click again and the file opens) I have FF 2.0.0.1, Flash MX 2004 Prof. I have tried setting an interval to have the getURL fire again but I can't seem to get it to work.
[Code]....
View 2 Replies
Sep 20, 2010
I'm working on a kind of coverflow layout and I'm using an XML file to house my links and information about those links. in my ActionScript, I'm using getURL to point to the link the user clicks and open the link in a new window using the following script:
getURL(infostruc[current - 1].artLink, "_blank");
I need to have the new window open up to a specific size (1014x714), but I'm not sure how to write the AS for this kind of action since I'm calling the link from an external file.
View 1 Replies
Jul 7, 2009
I'm trying to open an url when in fullscreen mode, but when using getURL firefox3 is blocking the url..
when I exit the fullscreen mode the links are working,
the project is in as2, flash 9
( clicking on an link that take's you to an external page gets blocked in FireFox3 )
View 1 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
Oct 27, 2010
The title essentially is the question, how do I open the .swf without the browser's control bar junk? and maximize the window?
View 2 Replies
Aug 15, 2010
I'm having a new problem getting a new browser window to open in front of the current window. They are now opening behind and unless the viewer is smart enough to think of it and see the tab they think it didn't open. I use the recommended code. on (release) {getURL ("nameofURL.html", "_blank" );}I'm pretty sure this used to open a browser window that appeared in front of the current one, but now it never seems to although once in a while it may (that was with a file with an htm extension.)
View 3 Replies
Aug 26, 2009
I'm trying to have my buttons open in the current window but it doesn't seem to work. Here is my code:
[Code]...
View 5 Replies
Feb 17, 2010
I have a MC with the following:
navigateToURL(new URLRequest(url));
However, when I click it it opens a new browser window.Is it possible to load the target on the current browser window?
View 1 Replies
Aug 22, 2009
<script>window.resizeTo(350, 500);</script> that is what I did it works but is there anyway I can get rid of the menu bars and scroll for the windowresize?
View 1 Replies
Feb 15, 2011
I'm running an online game site, and a few websites are really bad about embedding some of my games and stealing bandwidth.
To combat this, I replaced the original files with super-simple .swf files that redirected back to my own websites -- thus stealing back the traffic that they were stealing from me.
The problem came later when something changed with the new Flash player, and new windows no longer opened. For the life of me, I can't figure out how to get new windows to open. I've tried a few different approaches, but nothing appears to work.
So what I'm wondering is, can this even be done anymore -- where I can switch out a .swf that's being leeched with one that opens a window to my own site?
View 8 Replies
Jan 6, 2009
I am making my website's nav bar in flash. I want some of the buttons to open new browser windows to display aspx/html files. Is this possible using actionscript 3.0?
View 1 Replies
May 7, 2009
I want to click on a button and have it open a second browser window. How?
View 6 Replies
Oct 13, 2009
I'm trying to create a page where you click on the video thumbnail and the video opens up in its own window. I'd like the video to open at a specific size that I determine, not the browser, and I want it to be scalable. Here is what I have so far as a test file[URL]
View 2 Replies
Jun 24, 2009
I have a button inside of my flash website that links to a html page. I would like to load that in a new window.
View 3 Replies
Mar 9, 2011
i have an swf file, within the file there is a button symbol, which when clicked, opens my mp3player url in _blank.
the issue is i dont want to open a new tab, rather i want to open a new window (i.e. like pop up adds).
what should i do? is this flash(actionscript) or html or javascript inside the html?
View 2 Replies
Apr 25, 2011
I am building a kiosk app in flash and need to open browser windows whenever there is a URL link. The problem is that when the browser window opens, the fullscreen flash becomes a resizable window and the user has to close the window and open the flash app again to make it full screen again. So i'm wondering if there's any way I can open a browser window within the flash app sort of like an iframe or lightbox pop up? I've heard of this Native Window thing but I'm not sure what that is.
View 1 Replies
Oct 13, 2004
just started with flash and trying to open a new browser window from flash file. I don't have problem to do this but I don't know how to open a new browser window with specific size (let say 600x600px) and to appear on the screen at specific place (not just at left top corner).
View 1 Replies
Jan 22, 2010
I wish to open a new browser window from Flash and when the new window closes to return to the location from whence I started.
View 1 Replies
Oct 31, 2009
I am trying to open a new browser window from within my Flash app. To do this, I am using the line:[URL]..The problem is that when I test the code from in Flash CS4 nothing happens! It's like the line of code isn't there. But when I manually open the .html file which Flash CS4 generated that embeds my .swf, then the Flash app opens in my browser and promptly opens a new window to yahoo juat like it should, so it does not seem to be an AS3 syntax issue. I just got a new computer yesterday, with a fresh install of Flash CS4. I do not have this problem on my old computer. The old computer runs the code perfectly. Could there be some weird default security settings at work here in Flash CS4?
Does anyone have any experience with this sort of problem, or any clue what might be happening?
View 1 Replies
Mar 9, 2011
Essentially we just need to embed a flash banner ad that upon click and release of the mouse button the specified URL opens in a new browser window.
The code [Action Script 3?] we have used is below:
btn_click.buttonMode = true;
btn_click.useHandCursor = true;
btn_click.addEventListener(MouseEvent.CLICK, goood);
[Code]....
Am I correct in assuming this getURL code is not supported by Action Script 3? How would this code or any other be added? And what does "_self" refer to?
View 3 Replies
Mar 30, 2007
I've tried all the tutorials on kirupa, checked out adobe live docs, forums all the works and i've tried 20 different methods to open a browser window with a fixed width and height. i'm using Flash 8 and am wondering if there is a new method for opening a browser window with ixed params. it seems every tutorial i find is for flash 5 or earlier and none of them work. and i've tried opening them both in firefox and ie. the standard getURL _blank works fine of course...i just need to adjust the window size to scale to an image.
View 5 Replies
Mar 2, 2009
I'm sorry to have to ask this as I know there are many tutorials out there on how to do this, but using as2 how can I open a new browser window when a button is clicked, that is sized to specific dimensions? The reason I ask is because every bit of code I tried to use did absolutely nothing, when I clicked on the button nothing happened. This is the code I'm trying to use at the moment
Code:
getURL ("javascript:NewWindow=window.open('master.html','Title','width=1024,height=614,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
I'm using flash CS4, flash player 10 and actionscript 2
View 9 Replies
May 28, 2009
Currently, mailto will close out the flash site and navigate to a browser-based email client. What I'd like it to do is open a new window which it would use to open the email client, instead of using the same window (which closes out the flash site to open the email client).
I tried:
getURL("mailto:emailAddy", "_blank");
View 1 Replies