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


Similar Posts:


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

Data Integration :: GetURL Without Browser Opening?

Jun 3, 2006

I'm using getURL to send a string to a 4D webserver for tracking purposes. I'm using "_self" for the window and not using GET or Post and the string is the full http address including the path pointing to the 4d app with the variable appended to the string in XML format...the send works and is recorded by the 4d server..but a browser window opens which is don't want (it's unneeded and interrupts the flash)..is there a way to send with getURL without invoking a browser?

View 1 Replies

Professional :: GetURL Function - PDF Not Opening On A PC On First Click?

Jul 14, 2010

I have a simple Flash button with the following script attached:

on (release) {
getURL("http://URL/sample.pdf", "_new");
}

And I've also tried this:

[Code]...

my client (Who uses Firefox, on a PC) has to click on the button twice to view the PDF. The first time they click on the button, they have to close the blank window that pops up and then click on the Flash button again to view the PDF. It opens fine the second time. Is this just a PC problem? On my Mac (Safari) it works fine, but (Firefox) seems to want to save the document before I can view it.

View 3 Replies

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

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

ActionScript 3.0 :: Opening A .swf In A New Window?

Oct 29, 2009

I've got a .fla file, with 3 scenes in it. In the 3rd scene, there's a button which upon clicking it, should open a new window showing a external .swf file. Both files are placed in the same folder.

Now.. I'm able to open the .swf file in a browser, but what im trying to do, is open it in flash player. How the *#@%*#@ am i supposed to that? :P

Oh yeah, i should probably mention that the external .swf file also has mulitple scenes and buttons. And both "movies" should still be interactable when i open the new window.

View 6 Replies

ActionScript 3.0 :: Opening A Pdf.swf File In Its Own Window?

Dec 2, 2010

im having no luck with this at all. im building a site for my company, building and selling homes. ive made a website in flash, nothing too complex, ive also made a pdf in indesing, which when published left me put a page turing feature on it, and that pdf was then published as a swf file. its put all the code in for me automatically so the people can now interact and page turn it.i simply want a button/link i can put on my site to open this swf in its own browser window or in a flash player window. this code in previous versions of flash has been easy...on release etc but now with as 3.0 i see people using child, navigatetourl, its so confusing and every example ive found just doesnt seem to work

View 14 Replies

ActionScript 3.0 :: Opening New SWF File In Same Window

Jul 1, 2009

The code, To open a new .swf file in the same window, like on my website when u click a button I want it to load another .swf file in the same window. Its either this or to make it open a new scene.

View 1 Replies

Flash :: Link In Keeps Opening In New Window

Sep 16, 2009

I have l a flash file in my pages that links to other pages within my web site but when clicked they automatically open in another window. How can I link them without opening a new window as would happen with a normal web page  link?
 
Here is my current Action Script code: index.addEventListener(MouseEvent.CLICK,indexbuttondown);
 
function indexbuttondown(event:MouseEvent):void {
var bbcURL:URLRequest = new URLRequest("index.html");
navigateToURL(bbcURL);
}

View 2 Replies

ActionScript 3.0 :: Opening A Link In A New Window?

Dec 5, 2009

I'm primarily an HTML/CSS girl.  I'm pretty new to Flash, and until recently have only worked from the timeline without using any action script other than stop(); and simple goto commands like gotoAndPlay(49);
 
This week, I needed a nav button to take the user into the site from the Flash intro; it's live at [URL]
 
Flash CS4, Action Script 3.  Since I don't write Action Script - yet - and needed the link in a hurry, I Googled for the code.  As you can see, it works fine, but the site opens in a new window, and I don't want it to do that, I want it in the same window.
 
The code is as follows:
 
clickToEnter.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void  {    
navigateToURL(new URLRequest("http://www.deppimpersonator.com/cms"));
}
 
I thought it might be the use of "new" in front of URLRequest, but of course when I took that out the link didn't work at all.
 
Blind experimentation produced two attempts that simply broke the link (don't laugh ):
 
[Code]...
 
What do I need to add (or remove) from this code? And is this the most efficient way to code an internal link?
 
In case this is browser-specific:  I've only tested this in the latest versions of Firefox and Safari for Mac, OS X 10.6.2 (Snowleopard).  It's the same in both browsers.

View 3 Replies

Professional :: Opening In Same Window Using CSS & Flash CS3?

Jun 2, 2010

I'm working on a portfolio in Flash CS3 and AS3. I'm trying to avoid doing the whole thing in Flash, so the home page is a CSS/HTML header page that will house a looping flash piece underneath the header, and the inner portfolio will be flash pieces brought into the same CSS header framework.I'd like to know what kind of code I need to use in the portolio flash navigation so that the "home" link will open the CSS/HTML home page in its same window, rather than launching another window. Is this something that can be done using AS3, or do I need javascrpt as well?

View 4 Replies

Professional :: Opening Links In Same Window

Jan 4, 2011

using the following action script on buttons to open links:URL...Trouble is they all just open new windows and not the link in the current window!

View 3 Replies

ActionScript 3.0 :: Opening A Url In A Blank Window

Dec 8, 2011

I have a button called bt07 and I would like when you click down this button to open an url in a blank_window (for exemple [URL]) I wrote this code below but I don t know how writting the code to open the url?

//mouse downbt07.addEventListener(MouseEvent.MOUSE_DOWN,auSurvolSurbt07);function auSurvolSurbt07(e:Event){bt01.gotoAndStop(1);bt02.gotoAndStop(1);bt03.gotoAndStop(1);bt04.gotoAndStop(1);bt05.gotoAndStop(1);bt06.gotoAndStop(1);bt07.gotoAndStop(2);

[Code].....

View 1 Replies

PHP :: Opening Custom IE Window From Flex Possible?

Nov 11, 2009

Is it possible to open a custom IE window (i.e no status bar or address bar etc) from within flex? Or if I call a php file or html file can the page customize itself when loaded?

View 2 Replies

Web Development :: Opening IE Window From Within Flex?

Dec 4, 2009

All I need to open a new IE Window from within Flex code on click of a link.P.S I dont want to open a new Browser. I want to open a browser window only that can open a new URL.Something like clicking on a link in Flex and then openin a Pop up window.

View 2 Replies

ActionScript 3.0 :: Opening New Window In JavaScript?

Oct 9, 2009

I've been trying to find the Migration from AS2 to AS3,for the following code:

ActionScript Code:
on (release) {
getURL("javascript:NewWindow=window.open('main.htm l','ssWin','width=990,height=600,left=0,top=0,tool bar=N0,location=No,scrollbars=No,status=No,resizab le=No,fullscreen=No');NewWindow.focus();");
}

the code I've got so far is:

ActionScript Code:
if (mcUrl == i)
{

[code]....

But I'm not sure how to implement JavaScript in it.

View 1 Replies

ActionScript 3.0 :: URLRequest Without Opening Window?

Jan 28, 2010

I have this thing that sends variables to a php-file. The code snippet looks like this:

Code:
var myURLRequest:URLRequest = new URLRequest("kampanjerbjudande/process_variables.php");
myURLRequest.data = myVariables;
navigateToURL(myURLRequest, '_blank');

Now, the thing is this opens the process_variables.php in a new window/tab. I want to send the variables to the file to be processed without "visibly" opening the file in a window. Do you know what I mean?

View 6 Replies







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