ActionScript 2.0 :: GetURL To Open Page In Same Window?

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


Similar Posts:


GetURL To Open In Same Window?

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

ActionScript 3.0 :: GetUrl Won't Open In Same Window?

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

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

ActionScript 2.0 :: CS3 GetURL To Call A Page, But DO NOT Load A Window

Mar 26, 2009

So basically i have a flash application that needs to call a url when a button is clicked, but i don't want it to actually load a new window or even load the url. All the button does is call the url and it logs it, kind of like a click tag. My server keeps track of the number of times the particular url is called.

Everything works fine, but everytime i do it, it opens up a new browser window that is empty, i do not want to open a new window. I am using getURL, but that actually opens a new page, is there any other way to do this?

View 1 Replies

ActionScript 2.0 :: GetURL To Call A Page, But DO NOT Load A Window?

Mar 26, 2009

So basically i have a flash application that needs to call a url when a button is clicked, but i don't want it to actually load a new window or even load the url. All the button does is call the url and it logs it, kind of like a click tag. My server keeps track of the number of times the particular url is called.Everything works fine, but everytime i do it, it opens up a new browser window that is empty, i do not want to open a new window. I am using getURL, but that actually opens a new page,

View 6 Replies

ActionScript 2.0 :: GetURL - Flash Button When Clicked On To Open A Html Page In A I-frame

Jan 10, 2006

if i wanted a flash button when clicked on to open a html page in a i-frame how would this be done? what would the script be for this particulare action?

View 6 Replies

Buttons To Open The Page In The Same Window?

Jun 12, 2009

Have an issue with several buttons in cs3. I want the buttons to open the page in the same window, and they will once, but I need this to be a reoccuring effect.  here is the code.

[Code].....

View 4 Replies

Open/display A Specific Page Of A PDF In A New Browser Window?

Sep 21, 2006

Looking for getURL syntax /parameters that will let me open/display a specific page of a PDF in a new browser window.

Tried this, but it's not working:

pdf_btn.onRelease = function() {
getURL("pdfs/sample_file.pdf#page=605", "_blank")
}

The pdf file opens in a browser window, but not to page 605. It opens to page 1 of the pdf.

View 2 Replies

ActionScript 2.0 :: Window.open Redirects Main Page

Apr 3, 2007

here is my script.[code]the link opens up fine...but it opens up a tab in firefox that displays the following text."[object Window]"in internet explorer it gives me the error. and won't open the window.internet explorer cannot download.unspecified error.URL...

View 2 Replies

AS3 :: Professional - Open A Html Page In A Borderless Popup Window

May 10, 2010

Is there a way to open a html page in a borderless popup window using AS3. I've found info using AS2 with the "getURL" but nothing with the "new URLRequest" This is an example of what I'm looking to do: [URL]

View 2 Replies

ActionScript 3.0 :: Button Navigation - Open The New Page In The Same Window, It Doesn't Seem To Work?

Dec 7, 2010

I have a simple website and I am going from one page(flash file) to another page(different flash file) using the following code.

var myLink:URLRequest;
function openPage(event:MouseEvent) {
switch (event.currentTarget) {[code]....

This works fine, but I want to be able to use "_self" so I open the new page in the same window yet it doesn't seem to work.

View 4 Replies

ActionScript 2.0 :: Open A New Window If Have Thumbnail Pics In The Flash Movie But Want The Full Pic To Open Up In A New Window?

Mar 6, 2004

1) how do you open a new window if you have thumbnail pics in the flash movie but want the full pic to open up in a new window? Is this Javascript inside flash?

2) How do they do the menu bar here at this site:[URL]

View 1 Replies

ActionScript 2.0 :: Javscript:window.open In IE - Link In A Button Inside A Flash Movie To Open A New Window And Play A Youtube Movie

Jul 13, 2009

I work with 3d animation. Im have a problem with a personal website Im doing, I have a link in a button inside a flash movie to open a new window and play a youtube movie:

on (release) {
var jscommand:String = "window.open('http://www.youtube.com/v/b0L4XLODhAA&hl=en&fs=1&','win','height=344,width=4 25,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);");
}

This works fine in Firefox but in IE it doesnt work, I then change the /v/ in the youtube link with /p.swf?video_id= and now I have the window open showing the small youtube thumbnail of my video but once a click play, nothing happens, I check it and is not loading anything.

View 8 Replies

ActionScript 2.0 :: GetURL To Open PDF Outside Browser?

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

ActionScript 3.0 :: Link To Rather Open Up A Download Window Instead Of Just A New Browser Window?

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

ActionScript 2.0 :: Geturl & CS5 - Open A Pdf On Local Drive?

Jun 9, 2010

In all previous versions of flash I have been able to use "geturl" on a button and pull up a pdf in a local directory on my computer. Now with CS5, the same code pulls up a webpage and actually tries to go to a url. Is there a new way in CS5 to open a pdf on my local drive?

View 5 Replies

ActionScript 2.0 :: GetURL - Open Two URLs From One Click?

Jul 16, 2005

having a button open two URLs from one click? How would I modify this to make it work?

[Code]...

View 2 Replies

ActionScript 2.0 :: GetURL Not Working When Open .pdf Files?

Jun 14, 2006

when i open the pdf files with the help of getURL function in flash not working.

on(relase)
{
getURL("filename.pdf",1);
}

View 1 Replies

ActionScript 2.0 :: GetURL Dont Open Browser?

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

IDE :: GetURL Always Opening In New Window

May 25, 2009

I can't seem to get the buttons I have created in flash to open in the same window.. I've tried
1. leaving it with no target
2. on (release) {
getURL("[URL]");
targetPath("_self")
}
3. on (release) {
getURL("[URL]", "_self");
}

View 2 Replies

ActionScript 3.0 :: NavigateToURL - Get The Link To Open In The Same Window Instead Of A New Window

Nov 18, 2009

I'm trying to get the link to open in the same window instead of a new window, it's currently set to _blank. I tried _top, _self, _parent. When it's set to anything other than _blank the link doesn't work.

[Code]....

View 7 Replies

ActionScript 2.0 :: [Flash8] .send And GetURL Open Two Windows

Sep 20, 2007

I have a Flash form sending variables to an ASP script (bono.asp) in order to print a discount bonus. The bonus grafic is then shown in a new window for the user to print with his/her data on it. (name, address, etc). Well, the problem is that it not only opens a new window with the bonus (without the data ), it also opens the bonus in the current window (with the data), forcing the user to "go back" to the flash website and loading the entire animation again. This is the code in the Flash form asociated to the Button:

[Code]...

View 7 Replies

ActionScript 2.0 :: GetURL Without Actually Opening A Window?

May 4, 2006

is there any way to use the getURL command without it actually opening a new page? What I'm really doing is sending variables to a php page and inserting data into a database, but when i use LoadVars and LoadVars.send it's not workin for some reason. So I tried a simple getURL and that also sends the variables to the page and that works for me, but I don't want the users to see a new window popup or for the one theyre in to go to a new URL...? Maybe I'll post my LoadVars code too just to make sure I did that correctly... but I copied and pasted it from another LoadVars object in the same flash program that is working correctly (both sending AND loading variables)...

View 6 Replies

ActionScript 3.0 :: GetURL An Addressbarless Window?

Feb 2, 2009

From Flash, I'd like to launch a new browser window just like getURL() does, but I've had some trouble finding a way to make the new window addressbar-less. I'd like it so you click a button in flash and it pops up a new browser window showing pretty much nothing but the content of that page. So no addressbar, no back and forth browser controls, its just for displaying an image with. Javascript solutions or anything else are fine, as long as it can be launched from some script in Flash itself.

View 2 Replies

ActionScript 2.0 :: GetURL - Getting Firefox To Open File From Exe When FF Is Set To Default Browser

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

Control Browser Window Size With GetURL?

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

ActionScript 2.0 :: GetURL Opens The Scrpt In Another Window?

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

ActionScript 2.0 :: Past An URL To A GetURL Without Actually Opening A Window?

Oct 3, 2007

i want to past an URL to a getURL without actually opening a window, this url is a like a tracking tag...

View 1 Replies

ActionScript 2.0 :: Opening New Window From Flash Using GetURL?

Feb 12, 2002

I have the following problem trying to open a new window from flash:

getURL(url, new_window, "POST")

What happened was that the first time I clicked the button, it opens a new window; but subsequent clicks seem to do nothing... No "post" is done and that window doesn't get refreshed.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved