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


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 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

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 :: 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

Air - Flex Open Window Behind Active Window?

Jul 9, 2010

In Flex Air app, how do you open a window behind an active one?

I tried following and i can't seem to get it to work

[Code]...

With this code, I would expect window1 to open behind the main app window and, in 3 seconds, window2 would open behind window1. But if you execute this, window1 will open on top of the main window and window2 will open on top of window1 and the main app will retain focus. This seems like a bug in the Flex. If so is there any workaround for this problem?

View 2 Replies

Actionscript :: Open Swf File In Stand Alone Flash Player From GetURL() Action?

May 26, 2010

I would like to open a separate swf file from with in flash, but by default, it opens the swf in a browser. I would like this file to open in a stand alone player not in the browser.How can I achive this? Right now I'm using the getURL() action. Is there a separate function for opening a file at a specified filepath?

View 1 Replies

ActionScript 2.0 :: Basic GetURL Action [FMX] - Create A Link To Open A Webpage

Apr 22, 2003

I am creating a movie, and need to create alink to open a web page. My movie exists in a folder ("Flash") and I need to move up a level(out of that folder), and into another folder, (HTML) where the page I need to open resides. What would the path name need to be ie: ..HTML/default.html?

View 5 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 :: Resizing Browser Window On GetURL - Not Using JavaScript

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

ActionScript 2.0 :: GetURL Window With Maximize Button Accessible?

Aug 20, 2003

I've been trying to get a bit of control over the "getURL" action. I want the window that pops up to be a particular size, centered and have the maximize button accessible (it always seems to be greyed-out).

heres the code I've been using:

on (release) {
getURL("javascript:openNewWindow('http://www.google.com','thewin','height=600,width=400,max imize=yes,toolbar=no,sc

[Code].....

I've tried a few of the components that are supposed to make this easy but, I haven't found one that works properly yet.

View 2 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 :: New Browser Window Is Blocked Using GetURL In Fullscreen

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







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