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


Similar Posts:


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

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

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

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

Flash :: Movie Link Opening In Same Window

Jun 4, 2009

We have Flash movie in one domain and accessed from other Domain. The links in Flash movie was not working and with security restricitions we cannot use 'allowscriptaccess'.
So, we used System.security.loadPolicyFile [URL]; and included the XML in our assets. This worked for the links to open in New Window. But, when the links were changed to open in the same window, the links are working in Flash Player versions till 9.2XIn the versions, 9.4X+, it is not working.

View 1 Replies

ActionScript 2.0 :: Opening A New Window With The Flash Video Player?

Aug 2, 2009

I'm building a CDROM using Flash CS3 but with Actionscript 2.0. There are videos that need to open in a new window with a Flash video component (on click ) within Flash and not in the browser. Also with the option of opening full screen

View 6 Replies

Flash :: Opening Page In Same Window Using NavigatetoURL Function?

Jul 18, 2011

I have a flash code, in which i am loading images and opening urls through xml file, now it is opening in a different window(pop up window) but i want it to open in the same window.

var xmlReq:URLRequest = new URLRequest("XML/ImagesData01.xml");
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded);
xmlLoader.load(xmlReq);

[Code]....

View 2 Replies

ActionScript 2.0 :: Opening Popup Window From Flash Button

Jun 24, 2010

Is it possible to open a cross domain pop up window from a flash button. Let's say something like this:
ActionScript Code:
on (release) {
getURL ("javascript:NewWindow=window.open('[URL]','newWin','width=800,height=650,left=60,top=60,toolbar=No,location=No,scrollbars=no,status=No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}
Is a button hosted in domain that links to a secure page in link. Will it work or will it get blocked by browsers or internal flash restrictions?

View 3 Replies

ActionScript 3.0 :: Send Data From Flash To PHP Without Opening New Window?

Sep 18, 2011

After searching for posting values from flash to php without opening new window.I found the answer in document. using sendToURL() method.Here is tutorial to pass data from flash as3 to php

ActionScript Code:
import flash.net.URLVariables;
import flash.net.URLRequest;

[code]......

View 0 Replies

ActionScript 2.0 :: Auto-close Flash-window When Opening URL?

Jan 11, 2004

I want to make an actionscript where, at the end of my Flash-movie, the Flash-window will close 'automatically' after the getURL-action is performed. Can someone tell me how to do this?Like, in the last frame, I got so far:

stop();
getURL("http://www.somewhere.com");

View 5 Replies

ActionScript 2.0 :: (auto)close Flash-window When Opening URL?

Jan 11, 2004

I want to make an actionscript where, at the end of my Flash-movie, the Flash-window will close 'automatically' after the getURL-action is performed. Can someone tell me how to do this?Like, in the last frame, I got so far:
_______________________________________
stop();
getURL("http://www.somewhere.com");
_______________________________________

View 5 Replies

Flash :: Opening Movie In New Window On Clicking Link In A Webpage

May 23, 2009

opening flash movie in new window on clicking link in a web page

View 1 Replies

ActionScript 3.0 :: 'new Window' Links Opening BEHIND Full-screen Flash

Aug 7, 2009

I'm working on a site that's intended to display full screen. At present the initial HTML page has a "launch site" link which pops up a fullscreen window (via javascript window.open) with our Flash content.Once in the Flash site, all URLs that point at off-site destinations are set to open in a new window ("_blank" as the target - either an href in text, or via navigateToUrl). In Mac Firefox the new window opens BEHIND the full-screen Flash (as a new tab in my case). In Windows FF and IE, and Mac Safari, the new window pops in front of the fullscreen Flash.Is there a way to make the non-fullscreen window pop in front of the fullscreen Flash? I'm using swfobject 2.1 - perhaps I need to use an externalInterface call...thoughts?

View 0 Replies

ActionScript 3.0 :: Opening The Main Flash EXE File In A MAXIMIZED Window?

Aug 27, 2010

My company emails our Flash EXE files out to customers. Most of these Flash files use keyboard events to navigate through them, and they load external SWF and video files.So, obviously,I have to package all of my movie files, SWF, and the main EXE into the same folder.In the past, they have simply Zipped the file, emailed it out, and told them which file to open.

I am trying to find a way to take the entire folder and bundle it into a single EXE file.I need to find a permanent solution for opening the main Flash EXE file in a MAXIMIZED window. I don't mean fullscreen.I mean MAXIMIZED.In fullscreen, keyboard events don't work.But, they do in a Maximized window.

View 1 Replies

ActionScript 3.0 :: Flash Player Permission Warning On Opening New Link Window

Oct 1, 2010

I am trying to add a link button to my facebook page on my profile website, but I get flash player's permission warning when I press button and open new link window. Is the only way to permit to goto link setting flash player's security option manually? or is there any way to do not show this warning and permit going throw?

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







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