NavigateToURL even with _Self of opening in a new window

Strange behavior in a Flash that I'm working on. And I have to do something wrong because I can reproduce it in every Flash that I create. You can verify the behavior here in a test on my sub page construction site: http://www.i2craptor.com/
I have a menu bar at the top of the page, with the following code:

btnHome.addEventListener (MouseEvent.CLICK, btn1ClickHandler);
function btn1ClickHandler(event:MouseEvent):void {}
navigateToURL (new URLRequest (" http://www.i2ctech.com/"), '_Self');
}
btnProducts.addEventListener (MouseEvent.CLICK, btn2ClickHandler);
function btn2ClickHandler(event:MouseEvent):void {}
navigateToURL (new URLRequest ("products.html"), "_Self");
}
btnSupport.addEventListener (MouseEvent.CLICK, btn3ClickHandler);
function btn3ClickHandler(event:MouseEvent):void {}
navigateToURL (new URLRequest ("support.html"), "_Self");
}
btnResources.addEventListener (MouseEvent.CLICK, btn4ClickHandler);
function btn4ClickHandler(event:MouseEvent):void {}
navigateToURL (new URLRequest ("resources.html"), "_Self");
}
btnCompany.addEventListener (MouseEvent.CLICK, btn5ClickHandler);
function btn5ClickHandler(event:MouseEvent):void {}
navigateToURL (new URLRequest ("company.html"), "_Self");
}
btnPress.addEventListener (MouseEvent.CLICK, btn6ClickHandler);
function btn6ClickHandler(event:MouseEvent):void {}
navigateToURL (new URLRequest ("press.html"), "_Self");
}
Here's the crazy thing. If I open a web browser and then click on the menu buttons, the buttons to open the link in a new page. When the NEW page opens, the buttons of the start menu as I expect, then by opening any additional link on the same web page. Is - what some internet security settings explore? All the computers I've used (5 in total) to view the web page exhibits this same behavior.

That solved the problem. Thank you very much.

Tags: Adobe Animate

Similar Questions

  • 11g: problem with the page open in a new window

    Hello

    I have a simple application with two pages. Page 1 contains only one button:
            <af:commandButton text="commandButton 1" useWindow="true"
                      action="dialog:action"/>
    {code}
    
    Page 2 is empty. Action is defined in adfc-config.xml:
    
    {code:xml}
        <control-flow-case>
          <from-outcome>dialog:action</from-outcome>
          <to-activity-id>untitled2</to-activity-id>
        </control-flow-case>
    {code}
    
    When I click the button, page 2 opens in new window but page 1 stays kind of "locked". It takes two clicks on the button to get page 2 to show again (the first click sort of resets the page, and the second one works as it should).
    Same behavior reproduces in a very complex application (where, for instance, a table can be scrolled but selection is impossible). 
    
    This worked in technology preview, did something change and some extra step is required or this is a bug? I can send someone a test case, if needed.
    
    Thanks, 
    Pedja                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    Pedja,

    I have confirmed that it is the glasspane.

    When you open a dialog box in a new window like this, the main window is supposed to be blocked interaction until the dialog box is closed properly (this technique is sometimes called a "glasspane").

    Just close the dialog window by closing the browser window does not mean "close" dialog box. You must use the AdfFacesContext API to close the window.

    Add a command button on your page 2, bind it to an Action listener that does this:

        AdfFacesContext.getCurrentInstance().returnFromDialog(null, null);
    

    The behavior you see is correct; That is why the af: popup is probably a more "preferred" method to do so.

    I just saw your answer on the PDF - you'll still need clear the sort dialog box so that it works. You can use a ' print' button instead of a button 'command' (thus eliminating the need to use the framework of the dialogue)? I could not find any method of compensation of the dialog without actually closing the window.

    John

  • target for a .pdf with the target _blank link file does not open in a new window.

    I have a simple html document with links to all the value _blank .pdf documents but only opens in a new window.  Others open as _self.  Change the target does not seem to make a difference.

    No idea why this is happening?

    It is preferable to share a link to the offending page, so that we can see the code, simple errors as a lack of "or = can cause what you describe.

    However since you work with PDF files there may not be anything technically wrong with your code.

    Files PDF is a multimedia file that is managed in a number of different ways depending on the settings of the user's browser and plugin installations. What gives the target = "_blank" on a PDF link can open a new blank page and the PDF opens in Acrobat instead. There is no way to force a PDF file to load in the browser, this is a user setting we as developers have zero access to.

  • Firefox suddenly stopped opening 'in a new window"when I ask-open"in a new tab"only

    For the last two days, Firefox has suddenly stopped opening in a new window; Now, I can never have a window open at a time (even though she always let me open several tabs).
    Tried everything down and rebooting not closing of course, but made no difference.
    Don't have no knowledge of changing parameters - I changed or damaged something without knowing?
    The only news I did recently, is download the add-on from the EPUB reader! Is there a link?

    Thanks a lot for your suggestions

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > themes).

    • Makes no changes on the start safe mode window.

    See:

    If this does not work in mode without failure, then disable all extensions and then try to find out who is the cause by allowing both the problem reappears.

    • Choose "Disable all add-ons" on issues to troubleshoot Firefox in Safe Mode to set window to disable all extensions.
    • Close and restart Firefox after each change through "file > exit ' (Mac: ' Firefox > leave";) Linux: "file > exit ')
  • folder opens in a new window after update, but the options are correct

    Hello!

    After a few updates to Vista in the past two days, each folder now opens in a new window.

    The problem is: the folder options are correct. They are set to "open each folder in the same window. So I guess this is a new bug in Vista.

    Y at - it someone here with the same problems and maybe a solution?

    See you soon

    You can try to restore Windows back to a previous working state, and then disabling the updates so that it works this way.

    Step 1: To restore Windows to a previous state (before defective updates):

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-system-restore (open the link and follow the instructions).

    Step 2: To disable the automatic updates (so the update defective will not be reinstalled):

    http://Windows.Microsoft.com/en-us/Windows-Vista/turn-automatic-updating-on-or-off (in step 3, select 'Off').

    WARNING: It is not recommended and sometimes even dangerous to disable automatic updates, because they improve the security and reliability of Windows. If the procedures above solves your problem, this means that an update was the likely cause.

    Please report back with your results. Then we can reactivate the automatic updates, but block the update that causes this problem.

    Rifdhan

    If this is your answer, click on "Mark as answer" below. If it's useful, click on "Mark as useful" on the left.

  • Mobile link bug? (opening in a new window the value window)

    I put the link on mobile in the same window, but 98% of the time that it opens in a new window. I tried to make the road to the problem and it's driving me buggy.
    What is happening on the iPhone tests.
    I tried many methods, such as linking them directly to the version of the phone and the substitution of detection devices of Muse, with no luck.
    So I thought that maybe the iPhone default to opening links in a new window when the site is not fully charged. And that sometimes seems to happen however the device indicates that the site is loaded.

    Anyone else notice this behavior?

    Thank you.

    Solved the problem. Don't think that Muse would have such a glaring bug with one report (that's me). Then, of course, the thought goes to the third-party widget and lay the problem. I am posting this for someone else who might encounter the problem.

    This issue is included in the 123muse 'of assistance to Web Page' widget under the PHONE ONLY of PAGES when you check Web App Capable. A great pi when you want to get rid of the IOS header & footer, so that your design looks like what you designed. However the caveat being that all the links will open in a new window, no matter what you set AND you get back to the previous page (on IOS devices) because even if the link opens a new page of your original page is lost. Tested on iPhone 4, 5, 6, 6plus.

    Huge loss of conversion and / or company.

    I hope that the team big 123muse will see this and fix the widget because I do not know that it is clear to this side effect other than the statement...

    "If it's a single page site then the whole site will be a bit like an app in the iPhone or Android itself... »

    Thank you

    Dan

  • PDF links to open in a new window

    Hello...

    Is there a way to get added to the module literature PDFs to open in a new window by default when clicked on?

    See you soon... Dave

    Hi David, no, not at the moment and even if you do can be dependent on the browser and plugin dependent. Different browsers behaive differently with the media and files and if people have installed plugins or change their configuration you can not guarantee a regularirty.

  • Sometimes by selecting an existing tab will lead to open in a new window. Why?

    Firefox browser runs and have a Yahoo homepage and another tab in this window with Yahoo mail. Sometimes have other tabs open in the same window as well. Sometimes, when you move (switching) from one tab to the other tab that I pass will open in a new window itself, rather than stay in the original window. Why does this happen? Please look at the problem.

    Make sure that you do not drag a tab slightly downwards in the browser window by clicking.
    The current versions of Firefox have a feature called tabs.
    You can detach a tab in the current window and open in a new window by dragging a tab in the browser window.
    You can also do this via the context menu of a tab: switch to the new window
    You can drag the tab to the tab bar in the original window to cancel this detachment.

    bug489729 (Disable detach and tear off tab):

  • Some Images open in a new window or tab are backwards or rotated 90 degrees,

    Some Images open in a new window or tab are backwards or rotates 90 degrees, but they appear in the correct position when you use Internet EXPLORER.

    I don't even know if it's a browser or a browser-server interaction problem. The problem manifests a certain user forums where members post jpg images that appear as thumbnails. "I can right-click and select"Open in new window"or open in a new tab. Either way some images open OK, some open pivot 90 degrees out of position sometimes upside down. If I use Internet EXPLORE the same images will open on the right side.

    computer: Dell Latitude
    OS: Windows 7 Pro
    Browsers: Firefox 41.02 / MSIE 11.0.9600.18059

    MysteryTech said

    Not in bold. Looks like this:
    Layout.CSS.image - orientation.enabled; true
    Status: default
    Boolean type

    Laughing out loud! But if I double-click on it replaces:
    Layout.CSS.image - orientation.enabled; false
    Set of users of status
    Boolean type

    Now when I right-click the image and select either "open in new tab" or "open in new window" the image is right-side up!
    

    Thanks to you all!

  • Disable tabs open in a new window

    I have the option "show my windows and tabs from last time ', but I would like to only the tabs of the last closed window, then when I start firefox, I get my last tabs of my"last sitting"and when I create a new window using ctrl + N, I have just a blank page waiting to be used, instead of a bunch of tabs , I opened the other session x.

    A new window opens with the Home page (s), so if several pages open in a new window, check the homepage.

    • Tools > Options > general > startup: Homepage

    Firefox supports several home pages separated by ' |' symbol (pipe).

  • How to stop email in mozilla firefox, opening in a new window (I want to open it in a new tab)

    my email opens in a new window when I want my mail to open in a new tab in the toolbar when I press the button send. Please can you help?

    Oh, Yes, the email link button. Who is supposed to send your mail site instructions to compose a new message with a link to the current page.

    This button should call your bet here:

    "3-bar" menu button (or tools) > Options > tabs > "open new windows in a new tab instead.

    If this is checked , then you should get a new tab. If it unchecked , then you should get a new window. At least, that is how it is supposed to work.

  • When I have 4 or 5 tabs open, by selecting one of them often force this tab to open in a new window and close the original window

    FF 32.0.1. Move between the tabs that are already open, clicking on which I opened before forced to close and open in a new window, which is a real pain. It seems to happen when I have 4 or 5 tabs open, rather than 2 or 3.

    Only, this happened last week, once reinstalled a clean Windows.

    I searched and found a lot of people have problems with the new windows that open when they want just a new tab, but this seems to be on the opening of the fresh rather than return to already open tabs, so I can't find the same problem I describe.

    This can happen if you drag a tab slightly downwards in the browser window by clicking.

    Firefox has a feature called tabs
    You can detach a tab in the current window and open in a new window by dragging a tab in the browser window.
    You can also do this via the context menu of a tab: switch to the new window
    You can drag the tab to the tab bar in the original window to cancel this detachment.

  • Click on a new website and it will open in a new window?

    For some time when I click on a link to something from another web page, it opens in a new window.
    Or if I select the option "open new windows in a new tab instead", then all links to a different Web site open in a new tab.
    For example if I search something in Google, and then click one of the results of the research. The result opens in a new Web site.
    However if I click on something else on the site of Google for example 'Shopping' then it will open in the same page.

    The result is very irritating because I find myself with hundreds of windows (or tabs) open.

    I suspect that this is a framework rather than a bug because it is 100% of the time.

    Any ideas guys? I'd like to go back to normal navigation

    sound according to your viewing site.
    A site code is written to open the link in the same page/new page/tab or.

    If it opens more than one page per click, then check for malware/thread.

  • Using firefox 14.0.1. Load a link using the right click and "Open link in new window", translates into a new window opens but doesn't show URL address bar...

    Using firefox 14.0.1. Load a link using the right click and "Open link in new window", translates into a new window opens but doesn't show URL address bar. However, if I click with the right button on a link and select "Open link in a new tab", the tab displays the URL in the address bar. If it works when a new tab it's not in a new window.

    The reset Firefox feature can solve a lot of problems in restaurant Firefox to its factory default condition while saving your vital information.
    Note: This will make you lose all the Extensions, open Web sites and preferences.

    To reset Firefox, perform the following steps:

    1. Go to Firefox > help > troubleshooting information.
    2. Click on the button 'Reset Firefox'.
    3. Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
    4. Firefox opens with all the default settings applied.

    Information can be found in the article Firefox Refresh - reset the settings and Add-ons .

    This solve your problems? Please report to us!

  • Why you spend the "open in a new tab' and 'open in a new window' when you right click on a link?

    Why you spend the "open in a new tab' and 'open in a new window' when you right click on a link? This has happened with the latest version

    See also [/questions/791244? page = 2 #answer-161497]

Maybe you are looking for