Link in Flash keeps opening in new window

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);
Thanks for your help
Nick

Try changing the one line to be:
navigateToURL(bbcURL, "_self");
And test on a server.  Testing locally isn't reliable when browser window commands are involved.

Similar Messages

  • If i click on a link fire fox will open a new window to google every 3 or 4 times i click on a link why is this happening

    if i go on snowest and click on the forums firefox will open a new window to google for no reason and it will just keep opening a new window after i close it and click on a sub forum and iv run 3 different virus programs and nothing has come up. whats going on ?
    == This happened ==
    Every time Firefox opened

    Hi Becky,
    I would recommend trying to start Firefox in [[Safe Mode]] (link to article explaining how it works) - if it's something within Firefox (and it does sound that way), this should make it run normally until restarted.
    If Firefox works normally in Safe Mode, close it and start safe mode again, but on the starting dialog (again, see the article) select the "Disable all add-ons" option and click the "Make Changes and Restart" button.
    If Firefox still runs as it's supposed to, you can begin enabling the add-ons one by one, testing for each. This way you should be able to find the add-on that seems to cause the problem.
    Please let us know how above works out, and if we can be of further assistance. Detailed feedback is appreciated and helps us to help you better, plus enables us to better help more users with similar problems.

  • Folders keeping opening in new windows

    Hello there,
    It seems that all the folders keep opening in new windows, despite that fact that the relevant option is unchecked in Finder preferences.
    Has anyone a solution for that?
    Many thanks!

    Thanks Baitwo, nevertheless how I am supposed to tackle the issue without creating another user? Would I be able to delete it after changing the setting? Thanks!

  • Just learning my track pad; viewed tutorial; when I click a link, message comes up,"open in new window," etc. How to stop messages?

    I'm just learning how to use my Track Pad on my MacBook Pro, running iOS 10.9.4. I viewed the tutorial, which helped a lot , but still, when I click a link at odd times (I haven't figured out what triggers it yet) a small window with options such as, 'open in new window' opens up. It doesn't happen all the time. I just want the link to  click through without having to  deal with the message. When I click it several times, I may finally get it so the link just opens. How can I avoid those messages?

  • When I right-click on a link, can I have "open in new window" first, like it used to be?

    I prefer to open in new window when I right-click on a link. In this new version of firefox, open in tab is now on top. Can I have open in new window the first of the options?

    You can rearrange the menu items with the Menu Editor extension.
    *Menu Editor: https://addons.mozilla.org/firefox/addon/menu-editor/

  • Flash player opening in new window even for flash in websites

    Ok, so ive searched the net and not found a single person with my problem, if its something easy ive missed im sorry. Flash player opens in a new window for every bit of flash. Like if I go to hulu and start to watch a movie it will not load in browser but open a new window on the desktop and begin playing. If I go to a website that has a flash based set up like the air forces website just the backround will load and the flash thats supposed to be on the page tries to load in a new window like hulu but since its not a movie it doesnt work. It does this for everything flash, meaning if I go to a flash heavy website I see only the html parts and end up with tons of blank flash windows in my task bar I cant bring up. Im running firefox but it does it for ie too so I dont think its a browser issue.

    That resolved the issue. Thank you so much.

  • Why does my lightbox keep opening a new window?

    I'm currently finishing off my website and all I need to do that is make four images click into their own seperate light boxes.
    I number of my code savy friends cannot find anything wrong with my code.
    The problem is that when I click on the image online it opens a new window and to get back to the orginal page you have to go 'back'
    this clearly isn't what a lightbox should do, is there something in my code which is wrong and making it do this? Or can I add something.
    The 4 divs involved in this are named Rochelle, Jacob, Jared and Helena.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="jquery.lightbox-0.5.js"></script>
    <link href="jquery.lightbox-0.5.css" rel="stylesheet" type="text/css" media="screen" />
    <link href='http://fonts.googleapis.com/css?family=Allerta' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Dosis:700' rel='stylesheet' type='text/css'>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <script type="text/javascript">
        $(function() {
            $('#gallery a').lightBox();
        </script>
    <title>Organ Donation</title>
    <style type="text/css">
    #Container {
              height: 1100px;
              width: 850px;
              margin-right: auto;
              margin-left: auto;
    #Header {
              height: 183px;
              width: 850px;
              position: absolute;
              top: 0px;
              z-index: 6;
    #footer {
              height: 72px;
              width: 850px;
              margin-left:0px;
              margin-top:1025px;
              position: absolute;
              top: 16px;
    #title {
              height: 195px;
              width: 810px;
              margin-top: 180px;
              margin-left: 20px;
              position: absolute;
              z-index:2;
    #Rochelle {
              height: 325px;
              width: 425px;
              margin-top: 370px;
              margin-left: 425px;
              position: absolute;
    #navigation {
              height: 25px;
              width: 850px;
              margin-top: 140px;
              position: absolute;
              font-family: 'Allerta', sans-serif;
              color: #FFF;
              text-align: center;
              font-size: 13px;
              z-index: 7;
    #click {
              font-family: 'Dosis', sans-serif;
              font-size: 18px;
              color: #0094AB;
              height: 100px;
              width: 300px;
              margin-top: 390px;
              margin-left: 560px;
              position: absolute;
              z-index:4;
              font-weight: normal;
    #bottomNav {
              height: 20px;
              width: 850px;
              margin-top: 1055px;
              position: absolute;
              z-index: 4;
              font-family: 'Allerta', sans-serif;
              color: #FFF;
              font-size: 13px;
              text-align: center;
    #helena {
              height: 325px;
              width: 425px;
              margin-top: 695px;
              margin-left: 0px;
              position: absolute;
    #jared {
              height: 325px;
              width: 425px;
              margin-top: 695px;
              margin-left: 425px;
              position: absolute;
    #jacob {
              height: 325px;
              width: 425px;
              margin-top: 370px;
              margin-left: 0px;
              position: absolute;
    a:link {
              color: #FFF;
              text-decoration: none;
    a:visited {
              text-decoration: none;
              color: #FFFFFF;
    a:hover {
              text-decoration: none;
              color: #FFF;
    a:active {
              text-decoration: none;
    </style>
    </style>
    <script type="text/javascript">
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    </script>
    </head>
    <body>
    <div id="Container">
      <div id="click">Click the photos to read their stories</div>
      <div id="Rochelle"><a href="images/ROCHELLE2.jpg" title="Rochelle's Story"><img src="images/rochelle.jpg" width="425" height="325" /></a></div>
      <div id="jacob"><a href="images/JACOB2.jpg" title="Jacob's Story"><img src="images/jacob.jpg" width="425" height="325" alt="jacob" /></a></div>
      <div id="jared"><a href="images/JARED2.jpg" title="Jared's Story"><img src="images/Jared.jpg" width="425" height="325" /></a></div>
      <div id="helena"><a href="images/HELENA.jpg" title="Helena's Story"><img src="images/helenafirst.jpg" width="425" height="325" /></a></div>
      <div id="Header"><img src="images/header.jpg" width="850" height="183" /></div>
      <div id="stories">
        <div id="title"><img src="images/title4.jpg" width="810" height="195" /></div>
        <div id="body1"></div>
      </div>
    <div id="footer"><img src="images/bottombar.jpg" width="850" height="72" /></div>
    <div id="navigation"><a href="index.html">Home</a>  |  <a href="WhatIsIt.html">What is it?</a>  |  <a href="WhatHappens.html">What Happens?</a>  |  <a href="whichorgans.html">Which Organs?</a>  |  <a href="stories.html">Donation Stories</a></div>
    <div id="bottomNav"><a href="index.html">Home</a>  |  <a href="WhatIsIt.html">What is it?</a>  |  <a href="WhatHappens.html">What Happens?</a>  |  <a href="whichorgans.html">Which Organs?</a>  |  <a href="stories.html">Donation Stories</a></div>
    </div>
    </body>
    </html>

    Replace your FULL HTML file with this code:
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="jquery.lightbox-0.5.js"></script>
    <script type="text/javascript">
        $(function() {
            $('#gallery a').lightBox();
        </script>
    <link href="jquery.lightbox-0.5.css" rel="stylesheet" type="text/css" media="screen" />
    <link href='http://fonts.googleapis.com/css?family=Allerta' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Dosis:700' rel='stylesheet' type='text/css'>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Organ Donation</title>
    <style type="text/css">
    #Container {
        height: 1100px;
        width: 850px;
        margin-right: auto;
        margin-left: auto;
    #Header {
        height: 183px;
        width: 850px;
        position: absolute;
        top: 0px;
        z-index: 6;
    #footer {
        height: 72px;
        width: 850px;
        margin-left:0px;
        margin-top:1025px;
        position: absolute;
        top: 16px;
    #title {
        height: 195px;
        width: 810px;
        margin-top: 180px;
        margin-left: 20px;
        position: absolute;
        z-index:2;
    #Rochelle {
        height: 325px;
        width: 425px;
        margin-top: 370px;
        margin-left: 425px;
        position: absolute;
    #navigation {
        height: 25px;
        width: 850px;
        margin-top: 140px;
        position: absolute;
        font-family: 'Allerta', sans-serif;
        color: #FFF;
        text-align: center;
        font-size: 13px;
        z-index: 7;
    #click {
        font-family: 'Dosis', sans-serif;
        font-size: 18px;
        color: #0094AB;
        height: 100px;
        width: 300px;
        margin-top: 390px;
        margin-left: 560px;
        position: absolute;
        z-index:4;
        font-weight: normal;
    #bottomNav {
        height: 20px;
        width: 850px;
        margin-top: 1055px;
        position: absolute;
        z-index: 4;
        font-family: 'Allerta', sans-serif;
        color: #FFF;
        font-size: 13px;
        text-align: center;
    #helena {
        height: 325px;
        width: 425px;
        margin-top: 695px;
        margin-left: 0px;
        position: absolute;
    #jared {
        height: 325px;
        width: 425px;
        margin-top: 695px;
        margin-left: 425px;
        position: absolute;
    #jacob {
        height: 325px;
        width: 425px;
        margin-top: 370px;
        margin-left: 0px;
        position: absolute;
    a:link {
        color: #FFF;
        text-decoration: none;
    a:visited {
        text-decoration: none;
        color: #FFFFFF;
    a:hover {
        text-decoration: none;
        color: #FFF;
    a:active {
        text-decoration: none;
    </style>
    <script type="text/javascript">
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    </script>
    </head>
    <body>
    <div id="Container">
      <div id="click">Click the photos to read their stories</div>
      <div id="gallery">
      <div id="Rochelle"><a href="images/ROCHELLE2.jpg" title="Rochelle's Story" rel="lightbox"><img src="images/rochelle.jpg" width="425" height="325" /></a></div>
      <div id="jacob"><a href="images/JACOB2.jpg" title="Jacob's Story" rel="lightbox"><img src="images/jacob.jpg" width="425" height="325" alt="jacob" /></a></div>
      <div id="jared"><a href="images/JARED2.jpg" title="Jared's Story" target="_self" rel="lightbox"><img src="images/Jared.jpg" width="425" height="325" /></a></div>
      <div id="helena"><a href="images/HELENA.jpg" title="Helena's Story" rel="lightbox"><img src="images/helenafirst.jpg" width="425" height="325" /></a></div>
    </div>
      <div id="Header"><img src="images/header.jpg" width="850" height="183" /></div>
      <div id="stories">
        <div id="title"><img src="images/title4.jpg" width="810" height="195" /></div>
        <div id="body1"></div>
      </div>
    <div id="footer"><img src="images/bottombar.jpg" width="850" height="72" /></div>
    <div id="navigation"><a href="index.html">Home</a>  |  <a href="WhatIsIt.html">What is it?</a>  |  <a href="WhatHappens.html">What Happens?</a>  |  <a href="whichorgans.html">Which Organs?</a>  |  <a href="stories.html">Donation Stories</a></div>
    <div id="bottomNav"><a href="index.html">Home</a>  |  <a href="WhatIsIt.html">What is it?</a>  |  <a href="WhatHappens.html">What Happens?</a>  |  <a href="whichorgans.html">Which Organs?</a>  |  <a href="stories.html">Donation Stories</a></div>
    </div>
    </body>
    </html>
    Here's what I've changed:
    Added '<div id="gallery">' to your code before the lightbox gallery. If you read the Lines 9-13 of your HTML, your lightbox definition says that any 'a' links inside 'gallery' container will be lightbox enabled. In your actual gallery code, 'gallery' div was not present. Hence, Lightbox did not find any image links to load. Now, I've added the Div ID as Gallery. It works.
    Hope it helps.

  • Link in banner shud open in new window!!

    i have added an image which connects to my parents or main site (which is different from current on which i am working on)
    now when i click on this it is opening in the same page, i want to open it in new window how to do it?
    pl. note i don't want user to use the option, right click -> open in new window.
    waiting
    and thanx in advance.
    -chaitali

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your bookmarks, history, passwords, cookies, and other essential information.
    '''''Note:''' After resetting Firefox, you will lose any extensions, toolbar customizations, and some preferences.'' See the [[Reset Firefox – easily fix most problems]] article for more information.
    To Reset Firefox:
    # Open the Troubleshooting Information page using one of these methods:
    #*Click the menu button [[Image:New Fx Menu]], click help [[Image:Help-29]] and select ''Troubleshooting Information''. A new tab containing your troubleshooting information should open.
    #*If you're unable to access the Help menu, type '''about:support''' in your address bar to bring up the Troubleshooting Information page.
    #At the top right corner of the page, you should see a button that says "Reset Firefox" that looks like this: [[Image:Button reset]]. Click on it.
    #Firefox will close and reset. After it is done, Firefox will show a window with the information that is imported.
    #Click Finish and Firefox will reopen.
    Did this fix the problem? Please report back to us!
    Thank you.

  • Link doesn't get open in new window/tab

    Hi I have a expression on a text box, which shows a link. What i want is, when I click on the link, it should open in new tab. I have the expression below, it opens the link in the same tab, but not in a separate tab.
    =IIf(Fields!myField.Value="Online","<a href=""http://www.google.com"" target=""_blank"">" & "[Click here to do]" & "</a>","")
    Can anybody help please? Thanks.

    Hi ca4fil,
    According to your description, you want to click the URL then open the page in a new tab.
    As we tested in our environment, when clicking the URL in a report, the target="_blank” included within the HTML tag is not supported to open a new tab. In your scenario, since you want to open the URL in a new tab, you could set the “Go to URL” option
    with the expression like below:
    =IIF(Fields!myField.Value="Online","javascript:void(window.open('http://www.google.com','_blank'))","")
    Besides, you should make sure you have selected the "Always open pop-ups in a new tab" option in Internet Options.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Click-through links which would otherwise open in new windows, wont open at all

    it may have something to do with the fact that i have a new laptop running windows 8 but on links which would normally open into a new window like document links or page editors won't open at all.
    pop-ups are allowed, and i've tried to allow new windows in general but only one will be open. not even an error box shows up.

    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    Please report back soon.

  • Links in other applications opening in new windows now instead of tabs randomly

    Randomly today after booting up my PC and opening firefox links I receive from other people on like AIM or Steam chat open a whole new window where as before they would just open a new tab. It's veryyyy annoying and I have the option "Open new windows in a new tab instead" on. I'm using aurora build by the way, if that matters.

    Try to ask in the daily thread or create a new thread on the MozillaZine Builds forum, maybe someone there knows an answer.
    *http://forums.mozillazine.org/viewforum.php?f=23
    You need to register on the MozillaZine forum site in order to post at that forum.

  • Link to headline that opens in new window

    Hi there,
    a short question:
    Is it possible to create a "Go to a page" link to a headline in a second document (bookmark) in a new window? I couldn't find this option. I can link to the headline, but it opens in the same window.
    Editing (show in new window) the link after creating it leads to the head of the page of the second document, not to the headline/bookmark.
    Hope I could explain the point

    Hi petrad27605776,
    I would like to inform you that you can choose to open the second file in a different window :
    Go to 'Tools'- > 'Content Editing' -> 'More Content' -> 'Add or edit Link' -> 'Link Action' (Select 'Open  a File') -> 'Next' ->Set path of the file and Click 'OK' -> Specify Open Preference ( Select 'New Window') and Click OK
    However when the document will be opened up, it will point to the first page of the document.
    Regards,
    Rahul

  • HTML Renderer - Links that do not open a new window

    Hi All,
    I have links which navigates users to an area within the page, however all anchor tags (<a></a>) which are not http://com.sap.cm in html rendered by the html collection renderer are opened in a new window (target=_blank).  Even if I specify target=_self, it changes to target=_blank automatically.
    Is there anyway to implement <a target="_self" href="#aLocationInPage">link</a>?
    Cheers,
    Vic

    Hi there,
    we had the same issue - I opened an OSS and got following reply :
    <i>
    <b>08.03.2007 - 12:45:49 CET    SAP    Reply</b>
    I have checked from my development colleague and confirmed that
    this parameter is not supported currently and development has recently
    no plans to support this feature.
    I apologize for the inconvenience caused here.
    Thank you for your cooperation.
    Best Regards
    </i>
    Can you believe this ? I don't, as this parameter has been around since SP12 or so and still there is no official note regarding this issue.
    > Please reward points :o) <

  • When i open pdf files, they keep opening in new windows, i want it to open in a new tab, not a new widow.

    when i open any pdf document in firefox it opens in a new window,
    i want any open pdf documents to open in a new a tab, not a new window.

    ?????????????/

  • Folders keep opening in new windows!  help!

    I always like to have a clean desktop. So, I unchecked the Finder preference "Always open folders in new windows". That way, when I open a folder, it uses the same window that is already open... nice and clean.
    I believe this functionality is called "browser view".
    Recently I decided to do away with my sidebars and toolbars (by clicking the little pill-shaped button on the upper right of any Finder window). Unfortunately, with the sidebar and toolbar gone, opening a folder opens up a separate window (even though the Finder preference for this is still unchecked).
    I believe this functionality is called "spatial view".
    Is there a way I can set a preference somewhere so that folders always open in the same window even though I have the sidebar and toolbar hidden?
    Thanks.

    OPTION+double-click will always open a subfolder in the same window, regardless if you have toolbar showing or not. I prefer the choice, so also have open folders in new window option selected. I'm not as minimalistic as you are.

Maybe you are looking for

  • Reporting Services Cube Status

    Hi all, I am newbie to reporting service of team foundation server 2013. I just want to know what is the use of cube in reporting services in team foundation server environment. please clear my doubts. Thanks for help.

  • Fading Rollover Widget - How to get it roll back in again on Rolloff?

    Hey there, sorry for that confusing title For a nice menu effect, I would like to use the Fading Rollover Widget. As fading type I went for "horizontal", however, once it has completed this action, the menu does not roll back in again on Rolloff. Is

  • Static Methods in Rmi

    I have a static method in my class . Now i want to change my class to Distributed class So what to do with that static method ... I can't take in interface , so how i can call that method Sunil Virmani

  • Home directory for my documents

    Hello, I am writing an international program which reads in files placed under the "My Documents" directory of the users home directory. I can get access to the homedirectory using System.getProperty("user.home"). But depending on the language, the "

  • Duplicate PC names after PXE Deployment

    Hello, We have a primary and secondary site.  When we receive new computes, we import the computer information, then deploy via PXE.  When we do this on our primary site everything works great.  However, when we deploy to computers using the secondar