ActionScript 3.0 :: Links Open In A New Window?

Apr 1, 2010

I have a rotating banner that I have created and it receives it's image and url info from an XML document. When you click on the image displayed it takes you to the correct link but it opens it in a new window. Is there a way to make the link open in the current window?

View 2 Replies


Similar Posts:


Open Links In A New Window With Buttons?

May 30, 2007

I was just wondering how when you assign a link to a button, instead of it opening that link in the same window, how can i get it to open it in a new one.

View 3 Replies

ActionScript 3.0 :: Even With _self Set Links Still Open A New Window

May 1, 2011

I have navigateToURL(new URLRequest("page address"),"_self"); still opening a new window for all of the buttons in my menu. I think I have the syntax correct so are there any other factors?

Here is the code

ActionScript Code:
Button1_btn.addEventListener(MouseEvent.CLICK,mouse1DownHandler);
function mouse1DownHandler(event:MouseEvent):void {

[Code]....

View 1 Replies

ActionScript 2.0 :: Get These Links To Open In A New/blank Window (xml)?

Oct 9, 2009

i found this code somewhere, and have used it for a site, but the links open on the same page and i cant find an option to have them open in a different target window.AS code:

Code:
// The first step is to activate the XML object
headlineXML = new XML();

[code]......

View 2 Replies

ActionScript 3.0 :: Make HTML Links Open In Same Window?

Jun 19, 2009

How on earth do I get the HTML links inside a flash movie open up in the same browser window where said movie is embedded in (As opposed to opening up as a new pop-up windows)? Here is the code I have inside each of the buttons I have inside my flash movie:
  
var link7:URLRequest=new URLRequest("videos/december.html");
videos_btn.addEventListener(MouseEvent.CLICK, buttonClicked7);
function buttonClicked7(event:MouseEvent):void
{
navigateToURL(link7);
}

View 3 Replies

ActionScript 3.0 :: Make Flash Banner's Links Not Open In A New Window?

Aug 18, 2009

I'm having a little trouble with my flash banner. When I click on my button, it opens the link I specified in a new window or new tab, like target _blank in HTML. I want it to open in the same window, so you're still navigating through the site. Here's my button's code: link_btn5.addEventListener(MouseEvent.... goToURL5); function goToURL5(e:MouseEvent):void{ navigateToURL(new URLRequest ("/forums/index.php "));}

View 4 Replies

ActionScript 3.0 :: Multiple Links - Open The Second Link As Soon As You Open The Links Page

May 17, 2009

I am trying to have multiple links off site but have hit a brick wall. If I have the code listed below, it opens the second link as soon as you open the links page, If I have the"function onLinkClick (evt)", above btn6_btn I end up with the duplicate error message. Is there a way to have multiple link buttons on a page. I have played with this for hours.

[Code]...

View 15 Replies

ActionScript 3.0 :: Open Links In Same Window ("_self" Does Not Work)

Apr 29, 2010

I was given the following code to have my button open a link.

testbtn.addEventListener(MouseEvent.MOUSE_DOWN, gotest);
function gotest(event:MouseEvent):void {
navigateToURL(new URLRequest("http://www.bing.com/"));
}

This function works fine except that it opens all my links in new windows or tabs. I added the "_self" parameter to the function and created the following:

[Code]...

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

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 3.0 :: URL Links Open In New Page?

Dec 17, 2007

When the button is pressed, it tries to open in a new tab or in a new window (depending on if you are using Firefox or IE) and first gets blocked by the pop up blocker.

How can I make this where it opens without targeting "_blank" ???

Code:
{
var targetURL:URLRequest = new URLRequest("http://nameofwebsite.com/about.htm");
navigateToURL(targetURL);
this.addEventListener(MouseEvent.CLICK, goURL);
}

View 7 Replies

ActionScript 2.0 :: SWF Links Open Chrome Unexpectedly

Jan 28, 2011

I have a Flash site which uses SWFAddress, it has been working fine for more than a year. Recently I opened the fla file again in order to update the site, which I do often. When I publish the swf to test it and click on a link which is supposed to link to another page within the swf itself, instead this opens up Google Chrome, which appears to be going to chromium.org, then the browser crashes. After this, all links within the swf work normally. This is happening with fla / swf files that were working perfectly fine before, and haven't been modified since.

When I upload the file onto the web server to update the site, it behaves a bit randomly; sometimes it works fine, other times the very first clicked link doesn't work, however if I click the same link again or any other link on the page it works fine from then on.

View 0 Replies

ActionScript 2.0 :: Flash - Links Will Not Open In Myspace Anymore

Aug 28, 2006

my links will not open in myspace anymore. read this article for further explanation. [URL] i dont understand what they mean. im just trying to get these buttons working... [URL]

View 6 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 :: Stop Links Opening In New Window?

Feb 14, 2011

The links I have in my .swf keep opening in new windows/tabs rather than the same one, how can I make it open in the same tab? Here's my actionscript 3 script:

aquaheal.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_2);
function fl_ClickToGoToWebPage_2(event:MouseEvent):void {
navigateToURL(
new URLRequest("http://www.mediwales.com/index.php?id=6&member=9"), "_self");
}

View 1 Replies

Windows :: Open New Explorer When Clicking Links In Webpages Loaded By App Of Flex/Air?

Apr 7, 2010

In my application I tried using following codes to do this:

<mx:HTML x="0" y="0" width="100%" height="100%" location="http://www.example.com"/>


The page is loaded fine.But when I click the links I found sometimes there was no any response while I need a new explore window opened with the linking url.And also I tried:

[Code]...

View 1 Replies

ActionScript 3.0 :: Links Opening In New Window Even With Target _self?

May 5, 2009

I'm working on a SWF that is a banner on a home page and the is opening links a new window despite my attaching the "_self" argument to the navigateToURL command.Like here is a snippet of code TO ME it looks right:

PHP Code:
var link_001:URLRequest = new URLRequest("http://www.lcc.edu/schedule/");button_001_btn.addEventListener(MouseEvent.CLICK,

[code]....

View 3 Replies

ActionScript 2.0 :: Flash - Links To Open Up Different Pages Inside The Black Center Box Either Using Frames Or Php

Mar 10, 2006

[URL] On the left you will see a menu, it will be flash (actionscript MX 2004) and for the effect I want it will have to be flash. Now, heres the tricky part for me: I want those links to open up different pages inside the black center box either using frames or php. How could this be done? On the menu part, also, with the buttons, I need to make them movie clips for the effect I need for the rollover, but I want the movieclip to have a hitspace, how do I assign a movie clip a hit space.

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

CS3 Open SWF In New Window?

May 18, 2009

I want it so my website will open a new window with the swf in it and I don't know what the actionscript is for that.

View 1 Replies

Open A Pdf In A New Window?

Apr 9, 2010

I am new to flash and would like to create a button that opens a pdf in a new window. How would you do that?

View 5 Replies

AS3 :: Open URL In Same Window?

Jan 30, 2011

I am trying to open a URL without opening a new browser tab, Im using AS3, heres what I have so far[code]...

View 1 Replies

IDE :: Open A .swf In A New Window From Another .swf

Jan 23, 2003

I need to open a .swf in a new window from a botton of another .swf, and I want to keep open the 2 windows. But I do not want to use html, only flash.

View 10 Replies

IDE :: Open Exe's In Same Window

Mar 21, 2011

I have a menu.exe opening up 3 seperate exe's. Is it possible to open up the 3 seperate exe's in the same window as the menu.exe?

This is what I have at the moment:

on (keyPress "<Space>") {
fscommand("Exec", "page01.exe");
}

View 2 Replies

ActionScript 2.0 :: Open Up Pdf In New Window?

Nov 12, 2009

I'm trying to link a button to a pdf file, the root of which is on my pc (not a server). AS2.

View 1 Replies

Open Link In Same Window?

Jan 19, 2010

how to make the URL open in the same window. I am using flash CS3, Is there anyone who can edit the script below to allow this. The instance name is Button6

var getnextpage5:URLRequest = new URLRequest ("http://www.yokubou.co.uk/digitalart.html");
Button6.addEventListener(MouseEvent.CLICK,b5Click) ;
function b5Click(event:MouseEvent):void{

[Code]....

View 2 Replies

ActionScript 3.0 :: Open Swf In New Window

May 26, 2010

I'm new to flash and can not find an answer to what I would think is simple. I may not be searching for the right thing. Anywho... I am creating an flash presentation. I want to open a swf file in a new window. I know how to load them inside the current window, but that won't help. I searched the web and found: getURL("name.swf", '_blank') but that does not work. Thinking it may be as2, and my file is as3.

View 6 Replies







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