Action Script 3 URL  link opens in new window

How do I stop the url link in the following code from opening
a new browser window?
thank you

When I do this it comes through as an action scrip error.
var link = new URLRequest("
http://rhr-standout.com/pages/destination_finder/index.html","_self");
button_mc.addEventListener(MouseEvent.CLICK, onClick);
function onClick(MouseEvent):void
navigateToURL(link);
button_mc.buttonMode = true;

Similar Messages

  • URL iview opening in new window problem

    Hi All,
    I am using customized top level navigation (developed using byEPCM method).
    I  created URL iview and pointed "http://www.google.com" . (Launch in New Window = Displaly in sepearte window)  .I have assigned this  iview to a role as delta link. When naigating this iview, it is opening in new window. But it is showing "Permission Denied script error". And also, it is not displaying url as "http://www.google.com" .
    If I navigate via standard top level navigation, it is working fine. Please help to solve this problem.
    Thanks,
    Venkatesh R

    Hi,
    Check authentication related properties of iView. Make sure all of them are set to lowest level or none
    Regards,
    Ganga

  • RoboHelp 10 Skin Navigation Button - Link Open in New Window

    I'm using RoboHelp 10 and am trying to get the button in my navigation skin to open a link in a new window.  I researched this extensively and have not been able to get it to work.  Can you please assist?

    Is that link for some external website or some pdf file etc?
    When you create a button on a skin and ask it open a file it should do that in the web browser.
    If the link is for a website etc then it might give you the following link but you can still open the url in a new window by clicking on 'Open this content in a new window".

  • Why do links open in new windows, not tabs, even when that option is selected?

    Since update to v. 6 and now 7.01, clicking on links opens a new instance of Firefox instead of a new tab. In Tools\Options\Tabs. I have selected "open new window in tab instead" and it has no effect.
    What am I missing?
    Thanks in advance!!

    Thanks for the post. Unfortunately, while running in FF in safe mode may be doing the trick and thus implies an extension (though not necessarily), I haven't added any new extensions. So it is likely a problem introduced by FF since v. 6 or so. I suppose it could be that the extensions themselves need updating by their creators.
    Regardless it is all very time-consuming and frustrating, especially for something that one would think would be readily fixable.

  • Links opening in new window instead of new tab

    I'm running Safari Windows 4.0.4. I would like to use multiple tabs within one browser window. However, while in one tab, if I click on a link, it opens a new Safari window. I want it to open another tab. I have the "open links from applications" set to open in new tab, however, I can't find a setting for opening a new tab within sarafi itself. I hate that it opens a new window. Anyone point me in the right direction so that it opens a new tab in the same window?

    Is there a way, then, that the Safari team could add an option to the General tab that would default the click-on-link behavior to be the same as CTRL-click? I'm certain that adding such a feature would be insanely easy?
    Great browser Apple ... really like it; but could you please fix this in a service-pack soon?
    Thanks!
    -Max

  • Title bar gets squashed when a link opens in new window.

    It doesn't happen when i click "open in new window" but only when I click a link that opens in new window automatically. The title bar gets narrower so the tab goes outside the screen. After minimizing and maximizing again it becomes OK. It's the same in "safe mode". I also tried creating a new profile but the problem still exists.

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Ajax Autocomplete -- all links open in new windows

    Hi
    I used Ajax Autocompete in one of my applications. But after i click the link which uses ajax autocomplete, strange behaviour is happens with other links in Internet Explorer. The other links that are supposed to be opened in the same window now start opening in new windows. This does not happen in Firefox. can someone suggest a reason and a solution to this problem.
    Thanks in advance
    k3k

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)

  • Why does clicking a link open a new window with a spam site on it?

    Happens randomly I will click a link that I want open on new tab it opens but a random site will open in a new window. These sites that open are spam sites that I do not want. I have uninstalled deleted firefox and reinstalled it nothing is fixing this issue. My other computer has the same problem. Does not happen all the time its just random sometime i dont even have to click a link and a new window will open with dating sites poker sites just crap I did not want opened.

    Recomend getting adblock for firefox.
    if you still get unrelated links you should consider scanning for Malware on you computer (this could be an installed program or an extension). I would recommend Malwarebytes as it is somewhat free to use.

  • URL iView - Open in new window - User Action Independent

    Hello Experts,
    What has been configured:
    I have built an I URL iview and set its paramater to open in a new window. I have assigned the iview to a role. I have also assigned a quicklink to the iview
    Name: xyz
    quick link: xyz
    quick link url: https://<domain>/irj/portal/xyz
    What has been tested:
    When I log in to the portal using the test user ID and click (user action) on xyz the destination URL pops up in a new window as expected.
    When I access the iview via the quick link it loads the destination URL in the same portal window (no pop up)
    What do I need:
    We will be using the quick link to get to SAP portal from another legacy portal and I want to hit the target URL as soon as I access the quick link without being taken to the portal page in which the target URL content is rendered. I also do not want to have the user click on the/a link to navigate to the target URL.
    Things as they stand:
    The destination URL is hitting a standalone WD ABAP object which is not hosted in SAP portal content. The SAP portal has to be used because the logon ticket issued by the portal is also used to login to the server hosting the WD ABAP.
    Please let me know if you think this is something that can be achieved.
    Many thanks,
    Prashanth

    Hi,
    2. It is not possible to hide it completely or disable it. Give this a try:
    Create a Static HTML page and create a link in that which will take you to quick link page/iview.
    or you can create a custom application which will call the application underlying the quicklink on click of a link.
    3.  For removing the History, Back and Forwards links in Page Title Bar, follow the below:
    In Portal navigate to Content Administration - Portal Content - Content Provided by SAP - End User Content - Standard Portal Users - Open the Default Framework Page
    With the Framework Page - you will find Page Title Bar iView - Open the iview and go to iView Property
    Show Back/Forward Links and Show History List by default this setting is set to Yes. change teh setting to No and you will not be seeing those in the page title bar.
    NOTE: If you make this change it is applicable to all other pages and iViews. So be cautious before making the change.
    Hope this helps.
    cheers-
    Pramod

  • Opening an "URL" link in a new window

    Hi,
    I scanned the boards for how to do this but wasn't sure I could manage some of the suggestions I've read (using javascripts, buttons, etc). I found a simple solution that worked for me and thought I'd share..
    I have a SQL Query/Report that contains a column link/URL. I wanted my users to open a new browser Window to display that content, and I did this by adding "target=_blank" in the Link Attributes field.

    Hahah, guess I missed the "HTMLDB has been renamed" notice! So, this is the right forum ;-)

  • Link opens in new window

    using this code now in the action script and it works great -
    only problem
    is, when I run it, the link opens in a new window instead of
    the current
    window. Can someone tell me how to fix this?
    var link:URLRequest = new URLRequest("home.html");
    skip_btn.addEventListener(MouseEvent.CLICK,Skip);
    function Skip(event:MouseEvent):void
    navigateToURL(link);
    Thank you!

    navigateToURL(link, "_self");

  • Link opening as new window.

    Hi, I recently changed some static buttons on a website that had links to different pages within the site, when clicked, they would open in the same window, all good.
    Now, I changed these static buttons for some flash (.swf) buttons instead to make the home page look a bit more modern. The problem is, I used Contribute 4 to turn the new flash button to a link. Now when click on the new button, the link open a whole new page up, something I really don't want.
    What has me most confused is that the 'Link Properties' box shows the Target Frame as Default, which I took to mean would open the link in the existing window.
    Anybody have any clues why this is happening? I still have a few static links on the page with the same link properties, and these work fine.
    Thanks in advance . . .

    Ok, figured it out for myself.
    I had made the flash buttons quite some time ago and had forgotten that there was actually an action in the button to open a new URL but I had unwittingly made the action to open a fresh page every time it was clicked on.
    I remedied the action on the flash button, and removed the (contribute) link - which was never needed in the first place.
    The buttons work a charm now and open the new pages in place of the existing one.

  • URL not opening in new window

    Hi Gurus,
    I am stucked in a problem related to Portal. I am developing a portal page under which many Links with URL's will be listed. I want all the URL's should be opened in a separate window.
    I am unable to do so.
    Appreciate any quick help on this,
    Thank you
    Raj

    If you are creating the links with html (not using URL items) then just include target="_blank" in your link like <a href="#" target="_blank">your link</a> to open a link in a new browser window. If you are adding links to the page using URL items, then check the option to show the link in a new browser window. Note: if you are using an HTML Content Layout template and have applied it to the item region where you are publishing your URL items, then you will need to include conditional statements in the template to check for that (e.g. open link in new browser window) and include the correct target for the link based on what was selected for that item.

  • PDF links - open in new window

    I have a PDF document that has web links that were created in InDesign, then exported as a PDF. Once in the PDF, the links are fine but I would like for a new browser window to open when they are clicked rather than within the same browser window. I can't seem to find this in the preferences or properties, etc? How do I do this? Thank you!

    Is the link an HTML link, or within a PDF? Is it a URL link or a file link?

  • Targer URL not opening in New Window

    I have built a report with URLs. The report works well, but the Detail report is opening up in main window (overwriting master report containing URLs). I have checked the property 'Open Links in New Window' in Master report, but still the same. Does anyone have any ideas if iam missing anything here.
    Thanks

    Thanks for responding to my post. I have tried to implement as you said, but as you mentioned the solution worked only in HTML. (Master report HTML and Detail report PDF). But, i was looking for solution where the Master report is PDF and Detail is also PDF. If both are PDFs the detail report is overwriting master report output in same window.
    Do you have an idea if this is possible in BIP.
    Thank You.

Maybe you are looking for

  • Snow leopard dvd doesn't work

    I bought snow leopard DVD but it seems corrupted. I put inside the Mac and it spit it out immediately. (I tried both sides ... :-) ... many times). Other CDs and DVDs works fine. My question is: since I have an original version and a serial number pr

  • Analog to digital protocol

    Hi again, I got a lot of help yesterday on hardware devices that allow capture of analog video. Thanks. That got me to wondrin... If I'm going to try to do this, I might as well learn the basics. When a card or outboard hardware device captures and d

  • Is a TSU NOTIFICATION sufficient for encryption documentation?

    I'm using an open source library for my encryption. Can I just upload my TSU NOTIFICATION as proof that I've notified BSI / NSA for the encryption documentation?

  • Cannot print or make pdfs.

    Hi! For some while I have not been able to print (with any printer) or create pdfs. Shortly, whatever I could usually do after pressing command+P I can't do anymore, regardless of what program I'm doing it from. Once I click 'print' or 'create pdf' o

  • Corrupt render files

    Can corrupt render files cause artifacts like small square white blocking?